#5F9E2F#5F9E2F

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

Color values

HEX#5F9E2F
RGBrgb(95, 158, 47)
HSLhsl(94, 54%, 40%)
HSVhsv(94, 70%, 62%)
CMYKcmyk(39.9%, 0%, 70.3%, 38%)
CIE-LABlab(59.06, -39.30, 49.30)
CIE-LCHlch(59.06, 63.05, 128.56°)
OKLaboklab(63.38% -0.1098 0.1119)
OKLCHoklch(63.38% 0.157 134.4)
XYZxyz(17.4589, 27.0910, 6.9979)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E2F #6E2F9E
analogous
#969E2F #5F9E2F #2F9E37
triadic
#5F9E2F #2F5F9E #9E2F5F
tetradic
#5F9E2F #2F969E #6E2F9E #9E372F
square
#5F9E2F #2F969E #6E2F9E #9E372F
split-complementary
#5F9E2F #372F9E #9E2F96
monochromatic
#264013 #436F21 #5F9E2F #7CC743 #9DD572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9E2F#FFFFFF#000000##000000
##5F9E2F1.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)
#A4911E
Deuteranopia (green-blind)
#9B8C39
Tritanopia (blue-blind)
#5E9888
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f9e2f;
/* rgb */ color: rgb(95, 158, 47);
/* oklch */ color: oklch(63.4% 0.157 134.4);
Tailwind
colors: {
  custom: {
    50: '#91bb6e',
    500: '#5f9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e2f;
$custom-light: #91bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e2f",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 94.054,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63384,
    "c": 0.15679,
    "h": 134.4
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

primary
#5F9E2F
secondary
#9A6CBD
accent
#4ADE9E
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5F9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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