#5F9E2D#5F9E2D

#5F9E2D is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.4% C 0.158 H 134.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5F9E2D
RGBrgb(95, 158, 45)
HSLhsl(93, 56%, 40%)
HSVhsv(93, 72%, 62%)
CMYKcmyk(39.9%, 0%, 71.5%, 38%)
CIE-LABlab(59.04, -39.45, 50.07)
CIE-LCHlch(59.04, 63.75, 128.23°)
OKLaboklab(63.37% -0.1104 0.1133)
OKLCHoklch(63.37% 0.158 134.3)
XYZxyz(17.4195, 27.0752, 6.7903)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E2D #6C2D9E
analogous
#989E2D #5F9E2D #2D9E33
triadic
#5F9E2D #2D5F9E #9E2D5F
tetradic
#5F9E2D #2D989E #6C2D9E #9E332D
square
#5F9E2D #2D989E #6C2D9E #9E332D
split-complementary
#5F9E2D #332D9E #9E2D98
monochromatic
#263F12 #426E1F #5F9E2D #7CC940 #9DD66F

Accessibility & contrast

On white

3.27
#5F9E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5F9E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9E2D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9E2D#FFFFFF#000000##000000
##5F9E2D1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911B
Deuteranopia (green-blind)
#9C8C37
Tritanopia (blue-blind)
#5E9888
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f9e2d;
/* rgb */ color: rgb(95, 158, 45);
/* oklch */ color: oklch(63.4% 0.158 134.3);
Tailwind
colors: {
  custom: {
    50: '#91bb6d',
    500: '#5f9e2d',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e2d;
$custom-light: #91bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e2d",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 93.451,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63368,
    "c": 0.15815,
    "h": 134.3
  },
  "luminance": 0.27076
}

Semantic roles & 50–950 ramp

primary
#5F9E2D
secondary
#9869BD
accent
#49DF9D
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5F9E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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