#5F841D#5F841D

#5F841D is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.5% C 0.134 H 127.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5F841D
RGBrgb(95, 132, 29)
HSLhsl(82, 64%, 32%)
HSVhsv(82, 78%, 52%)
CMYKcmyk(28%, 0%, 78%, 48.2%)
CIE-LABlab(50.72, -28.68, 47.78)
CIE-LCHlch(50.72, 55.73, 120.98°)
OKLaboklab(56.54% -0.0824 0.106)
OKLCHoklch(56.54% 0.134 127.9)
XYZxyz(13.1924, 19.0238, 4.1391)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F841D #421D84
analogous
#84761D #5F841D #2C841D
triadic
#5F841D #1D5F84 #841D5F
tetradic
#5F841D #1D8476 #421D84 #841D2C
square
#5F841D #1D8476 #421D84 #841D2C
split-complementary
#5F841D #1D2C84 #761D84
monochromatic
#172007 #3B5212 #5F841D #83B628 #A2D645

Accessibility & contrast

On white

4.37
#5F841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5F841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F841D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F841D#FFFFFF#000000##000000
##5F841D1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A05
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#637E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f841d;
/* rgb */ color: rgb(95, 132, 29);
/* oklch */ color: oklch(56.5% 0.134 127.9);
Tailwind
colors: {
  custom: {
    50: '#90a862',
    500: '#5f841d',
    950: '#000000',
  },
}
SCSS
$custom: #5f841d;
$custom-light: #90a862;
$custom-dark: #000000;
JSON
{
  "hex": "#5f841d",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 81.553,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.13422,
    "h": 127.9
  },
  "luminance": 0.19024
}

Semantic roles & 50–950 ramp

primary
#5F841D
secondary
#6E46B7
accent
#41E77D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5F841D

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

Preview Lab → · Contrast checker → · Palette generator →

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