#5F801A#5F801A

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

Color values

HEX#5F801A
RGBrgb(95, 128, 26)
HSLhsl(79, 66%, 30%)
HSVhsv(79, 80%, 50%)
CMYKcmyk(25.8%, 0%, 79.7%, 49.8%)
CIE-LABlab(49.43, -26.91, 47.59)
CIE-LCHlch(49.43, 54.67, 119.49°)
OKLaboklab(55.49% -0.0778 0.1051)
OKLCHoklch(55.49% 0.131 126.5)
XYZxyz(12.6250, 17.9456, 3.7758)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F801A #3B1A80
analogous
#806E1A #5F801A #2C801A
triadic
#5F801A #1A5F80 #801A5F
tetradic
#5F801A #1A806E #3B1A80 #801A2C
square
#5F801A #1A806E #3B1A80 #801A2C
split-complementary
#5F801A #1A2C80 #6E1A80
monochromatic
#131A05 #394D10 #5F801A #85B324 #A6D83D

Accessibility & contrast

On white

4.58
#5F801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F801A#FFFFFF#000000##000000
##5F801A1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#637A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f801a;
/* rgb */ color: rgb(95, 128, 26);
/* oklch */ color: oklch(55.5% 0.131 126.5);
Tailwind
colors: {
  custom: {
    50: '#90a560',
    500: '#5f801a',
    950: '#000000',
  },
}
SCSS
$custom: #5f801a;
$custom-light: #90a560;
$custom-dark: #000000;
JSON
{
  "hex": "#5f801a",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 79.412,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55494,
    "c": 0.13073,
    "h": 126.5
  },
  "luminance": 0.17946
}

Semantic roles & 50–950 ramp

primary
#5F801A
secondary
#6742B4
accent
#3FE976
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F801A

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

Preview Lab → · Contrast checker → · Palette generator →

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