#5F891C#5F891C

#5F891C 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#5F891C
RGBrgb(95, 137, 28)
HSLhsl(83, 66%, 32%)
HSVhsv(83, 80%, 54%)
CMYKcmyk(30.7%, 0%, 79.6%, 46.3%)
CIE-LABlab(52.30, -31.11, 49.61)
CIE-LCHlch(52.30, 58.55, 122.09°)
OKLaboklab(57.83% -0.089 0.1097)
OKLCHoklch(57.83% 0.141 129.1)
XYZxyz(13.8746, 20.4077, 4.3065)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F891C #461C89
analogous
#897C1C #5F891C #29891C
triadic
#5F891C #1C5F89 #891C5F
tetradic
#5F891C #1C897C #461C89 #891C29
square
#5F891C #1C897C #461C89 #891C29
split-complementary
#5F891C #1C2989 #7C1C89
monochromatic
#192307 #3C5612 #5F891C #82BC26 #A1D946

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F891C#FFFFFF#000000##000000
##5F891C1.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)
#907F00
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#628375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f891c;
/* rgb */ color: rgb(95, 137, 28);
/* oklch */ color: oklch(57.8% 0.141 129.1);
Tailwind
colors: {
  custom: {
    50: '#90ab62',
    500: '#5f891c',
    950: '#000000',
  },
}
SCSS
$custom: #5f891c;
$custom-light: #90ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#5f891c",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 83.119,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.14124,
    "h": 129.1
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#5F891C
secondary
#7346BB
accent
#3FE980
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F891C

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

Preview Lab → · Contrast checker → · Palette generator →

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