#5F9F2B#5F9F2B

#5F9F2B is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.6% C 0.161 H 134.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5F9F2B
RGBrgb(95, 159, 43)
HSLhsl(93, 57%, 40%)
HSVhsv(93, 73%, 62%)
CMYKcmyk(40.3%, 0%, 73%, 37.6%)
CIE-LABlab(59.35, -40.03, 51.15)
CIE-LCHlch(59.35, 64.95, 128.05°)
OKLaboklab(63.61% -0.1121 0.1152)
OKLCHoklch(63.61% 0.161 134.2)
XYZxyz(17.5532, 27.4027, 6.6494)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9F2B #6B2B9F
analogous
#999F2B #5F9F2B #2B9F31
triadic
#5F9F2B #2B5F9F #9F2B5F
tetradic
#5F9F2B #2B999F #6B2B9F #9F312B
square
#5F9F2B #2B999F #6B2B9F #9F312B
split-complementary
#5F9F2B #312B9F #9F2B99
monochromatic
#253F11 #426F1E #5F9F2B #7CCA3D #9DD76D

Accessibility & contrast

On white

3.24
#5F9F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5F9F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9F2B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9F2B#FFFFFF#000000##000000
##5F9F2B1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59216
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#5E9988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f9f2b;
/* rgb */ color: rgb(95, 159, 43);
/* oklch */ color: oklch(63.6% 0.161 134.2);
Tailwind
colors: {
  custom: {
    50: '#92bc6c',
    500: '#5f9f2b',
    950: '#000000',
  },
}
SCSS
$custom: #5f9f2b;
$custom-light: #92bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9f2b",
  "rgb": {
    "r": 95,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 93.103,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6361,
    "c": 0.16073,
    "h": 134.2
  },
  "luminance": 0.27404
}

Semantic roles & 50–950 ramp

primary
#5F9F2B
secondary
#9767BE
accent
#47E19C
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5F9F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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