#838A42

A medium, moderate yellow closely aligning with Darkolivegreen.

About #838A42

The hex code #838A42 represents a beautifully specific shade of yellow. Designers often compare it to the standard color Darkolivegreen. To achieve this exact tint on a monitor, you would use an RGB mix of 131, 138, and 66.

Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 5% cyan and 0% magenta inks. With a hue angle of 65.8 degrees, it sits comfortably in the yellow spectrum.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#838A42
RGB131, 138, 66
HSL65.8°, 35.3%, 40.0%
CMYK5%, 0%, 52%, 46%
HSV65.8°, 52.2%, 54.1%
LAB55.5, -13.5, 37.3
XYZ19.4, 23.4, 8.6
Decimal8620610

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

3.70:1
Text on #FFFFFF
AA Large
5.68:1
Text on #000000
AA
3.53:1
Text on #F8FAFC
AA Large
4.83:1
Text on #0F172A
AA

CSS Implementation

.bg-color { background-color: #838A42; }
.text-color { color: #838A42; }
.border-color { border: 2px solid #838A42; }

Similar Colors

Darkolivegreen
#556B2F