#5F9D1A#5F9D1A

#5F9D1A is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.0% C 0.167 H 132.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5F9D1A
RGBrgb(95, 157, 26)
HSLhsl(88, 72%, 36%)
HSVhsv(88, 83%, 62%)
CMYKcmyk(39.5%, 0%, 83.4%, 38.4%)
CIE-LABlab(58.62, -40.14, 56.00)
CIE-LCHlch(58.62, 68.90, 125.63°)
OKLaboklab(62.99% -0.1135 0.1228)
OKLCHoklch(62.99% 0.167 132.8)
XYZxyz(16.9625, 26.6206, 5.2216)
Luminance0.2662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9D1A #581A9D
analogous
#9D991A #5F9D1A #1D9D1A
triadic
#5F9D1A #1A5F9D #9D1A5F
tetradic
#5F9D1A #1A9D99 #581A9D #9D1A1D
square
#5F9D1A #1A9D99 #581A9D #9D1A1D
split-complementary
#5F9D1A #1A1D9D #991A9D
monochromatic
#1F3409 #3F6811 #5F9D1A #7FD223 #9DE24F

Accessibility & contrast

On white

3.32
#5F9D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5F9D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9D1A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9D1A#FFFFFF#000000##000000
##5F9D1A1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#609686
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f9d1a;
/* rgb */ color: rgb(95, 157, 26);
/* oklch */ color: oklch(63.0% 0.167 132.8);
Tailwind
colors: {
  custom: {
    50: '#92ba64',
    500: '#5f9d1a',
    950: '#000000',
  },
}
SCSS
$custom: #5f9d1a;
$custom-light: #92ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9d1a",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 88.397,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62988,
    "c": 0.16722,
    "h": 132.8
  },
  "luminance": 0.26621
}

Semantic roles & 50–950 ramp

primary
#5F9D1A
secondary
#864EC4
accent
#39EE8F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #5F9D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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