#5F9B2B#5F9B2B

#5F9B2B is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.6% C 0.156 H 133.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5F9B2B
RGBrgb(95, 155, 43)
HSLhsl(92, 57%, 39%)
HSVhsv(92, 72%, 61%)
CMYKcmyk(38.7%, 0%, 72.3%, 39.2%)
CIE-LABlab(58.08, -38.30, 49.87)
CIE-LCHlch(58.08, 62.88, 127.52°)
OKLaboklab(62.58% -0.1074 0.1126)
OKLCHoklch(62.58% 0.156 133.7)
XYZxyz(16.8764, 26.0492, 6.4238)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9B2B #672B9B
analogous
#979B2B #5F9B2B #2B9B2F
triadic
#5F9B2B #2B5F9B #9B2B5F
tetradic
#5F9B2B #2B979B #672B9B #9B2F2B
square
#5F9B2B #2B979B #672B9B #9B2F2B
split-complementary
#5F9B2B #2F2B9B #9B2B97
monochromatic
#243B10 #426B1E #5F9B2B #7DC93B #9CD66B

Accessibility & contrast

On white

3.38
#5F9B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5F9B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9B2B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9B2B#FFFFFF#000000##000000
##5F9B2B1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F18
Deuteranopia (green-blind)
#998A35
Tritanopia (blue-blind)
#5F9585
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f9b2b;
/* rgb */ color: rgb(95, 155, 43);
/* oklch */ color: oklch(62.6% 0.156 133.7);
Tailwind
colors: {
  custom: {
    50: '#91b96c',
    500: '#5f9b2b',
    950: '#000000',
  },
}
SCSS
$custom: #5f9b2b;
$custom-light: #91b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9b2b",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 92.143,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62578,
    "c": 0.15556,
    "h": 133.7
  },
  "luminance": 0.2605
}

Semantic roles & 50–950 ramp

primary
#5F9B2B
secondary
#9465BC
accent
#48E099
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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