#5F801D#5F801D

#5F801D is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.5% C 0.129 H 126.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F801D
RGBrgb(95, 128, 29)
HSLhsl(80, 63%, 31%)
HSVhsv(80, 77%, 50%)
CMYKcmyk(25.8%, 0%, 77.3%, 49.8%)
CIE-LABlab(49.45, -26.75, 46.57)
CIE-LCHlch(49.45, 53.70, 119.87°)
OKLaboklab(55.51% -0.0771 0.1034)
OKLCHoklch(55.51% 0.129 126.7)
XYZxyz(12.6603, 17.9597, 3.9617)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F801D #3E1D80
analogous
#806F1D #5F801D #2D801D
triadic
#5F801D #1D5F80 #801D5F
tetradic
#5F801D #1D806F #3E1D80 #801D2D
square
#5F801D #1D806F #3E1D80 #801D2D
split-complementary
#5F801D #1D2D80 #6F1D80
monochromatic
#151C06 #3A4E12 #5F801D #84B228 #A4D443

Accessibility & contrast

On white

4.57
#5F801D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5F801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F801D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F801D#FFFFFF#000000##000000
##5F801D1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877707
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#637A6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f801d;
/* rgb */ color: rgb(95, 128, 29);
/* oklch */ color: oklch(55.5% 0.129 126.7);
Tailwind
colors: {
  custom: {
    50: '#90a561',
    500: '#5f801d',
    950: '#000000',
  },
}
SCSS
$custom: #5f801d;
$custom-light: #90a561;
$custom-dark: #000000;
JSON
{
  "hex": "#5f801d",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 80,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55514,
    "c": 0.129,
    "h": 126.7
  },
  "luminance": 0.1796
}

Semantic roles & 50–950 ramp

primary
#5F801D
secondary
#6A45B3
accent
#42E678
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5F801D

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

Preview Lab → · Contrast checker → · Palette generator →

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