#5F9B2E#5F9B2E

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

Color values

HEX#5F9B2E
RGBrgb(95, 155, 46)
HSLhsl(93, 54%, 39%)
HSVhsv(93, 70%, 61%)
CMYKcmyk(38.7%, 0%, 70.3%, 39.2%)
CIE-LABlab(58.11, -38.07, 48.71)
CIE-LCHlch(58.11, 61.83, 128.01°)
OKLaboklab(62.6% -0.1065 0.1106)
OKLCHoklch(62.6% 0.154 133.9)
XYZxyz(16.9335, 26.0720, 6.7244)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9B2E #6A2E9B
analogous
#969B2E #5F9B2E #2E9B34
triadic
#5F9B2E #2E5F9B #9B2E5F
tetradic
#5F9B2E #2E969B #6A2E9B #9B342E
square
#5F9B2E #2E969B #6A2E9B #9B342E
split-complementary
#5F9B2E #342E9B #9B2E96
monochromatic
#253D12 #426C20 #5F9B2E #7CC640 #9DD46F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9B2E#FFFFFF#000000##000000
##5F9B2E1.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)
#A18F1D
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#5F9585
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f9b2e;
/* rgb */ color: rgb(95, 155, 46);
/* oklch */ color: oklch(62.6% 0.154 133.9);
Tailwind
colors: {
  custom: {
    50: '#91b96d',
    500: '#5f9b2e',
    950: '#000000',
  },
}
SCSS
$custom: #5f9b2e;
$custom-light: #91b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9b2e",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 93.028,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62603,
    "c": 0.15355,
    "h": 133.9
  },
  "luminance": 0.26073
}

Semantic roles & 50–950 ramp

primary
#5F9B2E
secondary
#9769BC
accent
#4ADE9B
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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