#838E5B#838E5B

#838E5B is a light, moderate yellow-green. Relative luminance 0.249; OKLCH L 62.5% C 0.073 H 118.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#838E5B
RGBrgb(131, 142, 91)
HSLhsl(73, 22%, 46%)
HSVhsv(73, 36%, 56%)
CMYKcmyk(7.7%, 0%, 35.9%, 44.3%)
CIE-LABlab(57.00, -12.78, 25.88)
CIE-LCHlch(57.00, 28.87, 116.28°)
OKLaboklab(62.48% -0.0347 0.064)
OKLCHoklch(62.48% 0.073 118.5)
XYZxyz(20.9214, 24.9267, 13.6047)
Luminance0.2493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E5B #665B8E
analogous
#8E7F5B #838E5B #698E5B
triadic
#838E5B #5B838E #8E5B83
tetradic
#838E5B #5B8E7F #665B8E #8E5B69
square
#838E5B #5B8E7F #665B8E #8E5B69
split-complementary
#838E5B #5B698E #7F5B8E
monochromatic
#3E432B #616943 #838E5B #A1AB7B #BBC3A1

Accessibility & contrast

On white

3.51
#838E5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#838E5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838E5B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838E5B#FFFFFF#000000##000000
##838E5B1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948957
Deuteranopia (green-blind)
#93895D
Tritanopia (blue-blind)
#888981
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #838e5b;
/* rgb */ color: rgb(131, 142, 91);
/* oklch */ color: oklch(62.5% 0.073 118.5);
Tailwind
colors: {
  custom: {
    50: '#a8af8a',
    500: '#838e5b',
    950: '#000000',
  },
}
SCSS
$custom: #838e5b;
$custom-light: #a8af8a;
$custom-dark: #000000;
JSON
{
  "hex": "#838e5b",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 91
  },
  "hsl": {
    "h": 72.941,
    "s": 21.888,
    "l": 45.686
  },
  "oklch": {
    "l": 0.62484,
    "c": 0.07279,
    "h": 118.5
  },
  "luminance": 0.24927
}

Semantic roles & 50–950 ramp

primary
#838E5B
secondary
#9A94B1
accent
#69BE7C
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #838E5B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#838E5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva