#5F891E#5F891E

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

Color values

HEX#5F891E
RGBrgb(95, 137, 30)
HSLhsl(84, 64%, 33%)
HSVhsv(84, 78%, 54%)
CMYKcmyk(30.7%, 0%, 78.1%, 46.3%)
CIE-LABlab(52.31, -31.00, 48.95)
CIE-LCHlch(52.31, 57.94, 122.35°)
OKLaboklab(57.84% -0.0886 0.1086)
OKLCHoklch(57.84% 0.14 129.2)
XYZxyz(13.8993, 20.4176, 4.4367)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F891E #481E89
analogous
#897D1E #5F891E #2A891E
triadic
#5F891E #1E5F89 #891E5F
tetradic
#5F891E #1E897D #481E89 #891E2A
square
#5F891E #1E897D #481E89 #891E2A
split-complementary
#5F891E #1E2A89 #7D1E89
monochromatic
#192508 #3C5713 #5F891E #82BB29 #A0D74A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F891E#FFFFFF#000000##000000
##5F891E1.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)
#907F04
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#628375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f891e;
/* rgb */ color: rgb(95, 137, 30);
/* oklch */ color: oklch(57.8% 0.140 129.2);
Tailwind
colors: {
  custom: {
    50: '#90ab63',
    500: '#5f891e',
    950: '#000000',
  },
}
SCSS
$custom: #5f891e;
$custom-light: #90ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f891e",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 83.551,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57839,
    "c": 0.14014,
    "h": 129.2
  },
  "luminance": 0.20418
}

Semantic roles & 50–950 ramp

primary
#5F891E
secondary
#7549BA
accent
#41E782
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F891E

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

Preview Lab → · Contrast checker → · Palette generator →

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