#5F9D2A#5F9D2A

#5F9D2A is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.1% C 0.159 H 133.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5F9D2A
RGBrgb(95, 157, 42)
HSLhsl(92, 58%, 39%)
HSVhsv(92, 73%, 62%)
CMYKcmyk(39.5%, 0%, 73.2%, 38.4%)
CIE-LABlab(58.71, -39.24, 50.88)
CIE-LCHlch(58.71, 64.25, 127.64°)
OKLaboklab(63.09% -0.11 0.1145)
OKLCHoklch(63.09% 0.159 133.8)
XYZxyz(17.1939, 26.7132, 6.4402)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9D2A #682A9D
analogous
#999D2A #5F9D2A #2A9D2F
triadic
#5F9D2A #2A5F9D #9D2A5F
tetradic
#5F9D2A #2A999D #682A9D #9D2F2A
square
#5F9D2A #2A999D #682A9D #9D2F2A
split-complementary
#5F9D2A #2F2A9D #9D2A99
monochromatic
#253C10 #426D1D #5F9D2A #7CCA3A #9CD76A

Accessibility & contrast

On white

3.31
#5F9D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5F9D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9D2A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9D2A#FFFFFF#000000##000000
##5F9D2A1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39015
Deuteranopia (green-blind)
#9B8B35
Tritanopia (blue-blind)
#5F9787
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f9d2a;
/* rgb */ color: rgb(95, 157, 42);
/* oklch */ color: oklch(63.1% 0.159 133.8);
Tailwind
colors: {
  custom: {
    50: '#92ba6b',
    500: '#5f9d2a',
    950: '#000000',
  },
}
SCSS
$custom: #5f9d2a;
$custom-light: #92ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9d2a",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 92.348,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.1588,
    "h": 133.8
  },
  "luminance": 0.26714
}

Semantic roles & 50–950 ramp

primary
#5F9D2A
secondary
#9565BE
accent
#47E19A
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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