#5F801E#5F801E

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

Color values

HEX#5F801E
RGBrgb(95, 128, 30)
HSLhsl(80, 62%, 31%)
HSVhsv(80, 77%, 50%)
CMYKcmyk(25.8%, 0%, 76.6%, 49.8%)
CIE-LABlab(49.45, -26.69, 46.21)
CIE-LCHlch(49.45, 53.36, 120.01°)
OKLaboklab(55.52% -0.0769 0.1029)
OKLCHoklch(55.52% 0.128 126.8)
XYZxyz(12.6729, 17.9647, 4.0279)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F801E #3F1E80
analogous
#80701E #5F801E #2E801E
triadic
#5F801E #1E5F80 #801E5F
tetradic
#5F801E #1E8070 #3F1E80 #801E2E
square
#5F801E #1E8070 #3F1E80 #801E2E
split-complementary
#5F801E #1E2E80 #701E80
monochromatic
#151D07 #3A4E12 #5F801E #84B22A #A3D345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F801E#FFFFFF#000000##000000
##5F801E1.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)
#877709
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#637A6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f801e;
/* rgb */ color: rgb(95, 128, 30);
/* oklch */ color: oklch(55.5% 0.128 126.8);
Tailwind
colors: {
  custom: {
    50: '#90a562',
    500: '#5f801e',
    950: '#000000',
  },
}
SCSS
$custom: #5f801e;
$custom-light: #90a562;
$custom-dark: #000000;
JSON
{
  "hex": "#5f801e",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 80.204,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.1284,
    "h": 126.8
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#5F801E
secondary
#6B47B3
accent
#43E579
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5F801E

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

Preview Lab → · Contrast checker → · Palette generator →

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