#5F891D#5F891D

#5F891D is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.8% C 0.141 H 129.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5F891D
RGBrgb(95, 137, 29)
HSLhsl(83, 65%, 33%)
HSVhsv(83, 79%, 54%)
CMYKcmyk(30.7%, 0%, 78.8%, 46.3%)
CIE-LABlab(52.30, -31.05, 49.28)
CIE-LCHlch(52.30, 58.25, 122.22°)
OKLaboklab(57.83% -0.0888 0.1091)
OKLCHoklch(57.83% 0.141 129.1)
XYZxyz(13.8867, 20.4125, 4.3705)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F891D #471D89
analogous
#897D1D #5F891D #29891D
triadic
#5F891D #1D5F89 #891D5F
tetradic
#5F891D #1D897D #471D89 #891D29
square
#5F891D #1D897D #471D89 #891D29
split-complementary
#5F891D #1D2989 #7D1D89
monochromatic
#192408 #3C5612 #5F891D #82BC28 #A0D848

Accessibility & contrast

On white

4.13
#5F891D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5F891D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F891D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F891D#FFFFFF#000000##000000
##5F891D1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F01
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#628375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f891d;
/* rgb */ color: rgb(95, 137, 29);
/* oklch */ color: oklch(57.8% 0.141 129.1);
Tailwind
colors: {
  custom: {
    50: '#90ab62',
    500: '#5f891d',
    950: '#000000',
  },
}
SCSS
$custom: #5f891d;
$custom-light: #90ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#5f891d",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 83.333,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57833,
    "c": 0.1407,
    "h": 129.1
  },
  "luminance": 0.20413
}

Semantic roles & 50–950 ramp

primary
#5F891D
secondary
#7447BA
accent
#40E881
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F891D

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

Preview Lab → · Contrast checker → · Palette generator →

#5F891D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva