#5F9A2D#5F9A2D

#5F9A2D is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.3% C 0.153 H 133.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5F9A2D
RGBrgb(95, 154, 45)
HSLhsl(92, 55%, 39%)
HSVhsv(92, 71%, 60%)
CMYKcmyk(38.3%, 0%, 70.8%, 39.6%)
CIE-LABlab(57.78, -37.71, 48.78)
CIE-LCHlch(57.78, 61.66, 127.71°)
OKLaboklab(62.34% -0.1056 0.1106)
OKLCHoklch(62.34% 0.153 133.7)
XYZxyz(16.7483, 25.7328, 6.5666)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9A2D #682D9A
analogous
#969A2D #5F9A2D #2D9A32
triadic
#5F9A2D #2D5F9A #9A2D5F
tetradic
#5F9A2D #2D969A #682D9A #9A322D
square
#5F9A2D #2D969A #682D9A #9A322D
split-complementary
#5F9A2D #322D9A #9A2D96
monochromatic
#253B11 #426B1F #5F9A2D #7CC73E #9CD46D

Accessibility & contrast

On white

3.42
#5F9A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5F9A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9A2D
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9A2D#FFFFFF#000000##000000
##5F9A2D1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1C
Deuteranopia (green-blind)
#988937
Tritanopia (blue-blind)
#5F9484
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f9a2d;
/* rgb */ color: rgb(95, 154, 45);
/* oklch */ color: oklch(62.3% 0.153 133.7);
Tailwind
colors: {
  custom: {
    50: '#91b86c',
    500: '#5f9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #5f9a2d;
$custom-light: #91b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9a2d",
  "rgb": {
    "r": 95,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 92.477,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62336,
    "c": 0.15292,
    "h": 133.7
  },
  "luminance": 0.25734
}

Semantic roles & 50–950 ramp

primary
#5F9A2D
secondary
#9567BB
accent
#4ADE9A
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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