#838D57#838D57

#838D57 is a light, moderate yellow-green. Relative luminance 0.246; OKLCH L 62.2% C 0.076 H 117.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#838D57
RGBrgb(131, 141, 87)
HSLhsl(71, 24%, 45%)
HSVhsv(71, 38%, 55%)
CMYKcmyk(7.1%, 0%, 38.3%, 44.7%)
CIE-LABlab(56.65, -12.77, 27.61)
CIE-LCHlch(56.65, 30.42, 114.82°)
OKLaboklab(62.18% -0.0349 0.0678)
OKLCHoklch(62.18% 0.076 117.2)
XYZxyz(20.6053, 24.5633, 12.6707)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838D57 #61578D
analogous
#8D7C57 #838D57 #688D57
triadic
#838D57 #57838D #8D5783
tetradic
#838D57 #578D7C #61578D #8D5768
square
#838D57 #578D7C #61578D #8D5768
split-complementary
#838D57 #57688D #7C578D
monochromatic
#3D4128 #606740 #838D57 #A1AB76 #BBC29C

Accessibility & contrast

On white

3.55
#838D57 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#838D57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838D57
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838D57#FFFFFF#000000##000000
##838D571.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948853
Deuteranopia (green-blind)
#93885A
Tritanopia (blue-blind)
#888780
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #838d57;
/* rgb */ color: rgb(131, 141, 87);
/* oklch */ color: oklch(62.2% 0.076 117.2);
Tailwind
colors: {
  custom: {
    50: '#a8ae87',
    500: '#838d57',
    950: '#000000',
  },
}
SCSS
$custom: #838d57;
$custom-light: #a8ae87;
$custom-dark: #000000;
JSON
{
  "hex": "#838d57",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 87
  },
  "hsl": {
    "h": 71.111,
    "s": 23.684,
    "l": 44.706
  },
  "oklch": {
    "l": 0.62178,
    "c": 0.07629,
    "h": 117.2
  },
  "luminance": 0.24563
}

Semantic roles & 50–950 ramp

primary
#838D57
secondary
#9690B0
accent
#68C078
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #838D57

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

Preview Lab → · Contrast checker → · Palette generator →

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