#838D5B#838D5B

#838D5B is a light, moderate yellow-green. Relative luminance 0.246; OKLCH L 62.3% C 0.071 H 117.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#838D5B
RGBrgb(131, 141, 91)
HSLhsl(72, 22%, 45%)
HSVhsv(72, 35%, 55%)
CMYKcmyk(7.1%, 0%, 35.5%, 44.7%)
CIE-LABlab(56.71, -12.24, 25.50)
CIE-LCHlch(56.71, 28.29, 115.64°)
OKLaboklab(62.25% -0.0332 0.0631)
OKLCHoklch(62.25% 0.071 117.7)
XYZxyz(20.7733, 24.6305, 13.5553)
Luminance0.2463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838D5B #655B8D
analogous
#8D7E5B #838D5B #6A8D5B
triadic
#838D5B #5B838D #8D5B83
tetradic
#838D5B #5B8D7E #655B8D #8D5B6A
square
#838D5B #5B8D7E #655B8D #8D5B6A
split-complementary
#838D5B #5B6A8D #7E5B8D
monochromatic
#3E432B #606843 #838D5B #A1AA7B #BBC2A0

Accessibility & contrast

On white

3.54
#838D5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#838D5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838D5B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838D5B#FFFFFF#000000##000000
##838D5B1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938857
Deuteranopia (green-blind)
#92885D
Tritanopia (blue-blind)
#888880
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #838d5b;
/* rgb */ color: rgb(131, 141, 91);
/* oklch */ color: oklch(62.3% 0.071 117.7);
Tailwind
colors: {
  custom: {
    50: '#a7ae8a',
    500: '#838d5b',
    950: '#000000',
  },
}
SCSS
$custom: #838d5b;
$custom-light: #a7ae8a;
$custom-dark: #000000;
JSON
{
  "hex": "#838d5b",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 91
  },
  "hsl": {
    "h": 72,
    "s": 21.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62252,
    "c": 0.07129,
    "h": 117.7
  },
  "luminance": 0.2463
}

Semantic roles & 50–950 ramp

primary
#838D5B
secondary
#9994B0
accent
#6ABE7B
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #838D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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