#5D951F#5D951F

#5D951F is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.8% C 0.156 H 132.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5D951F
RGBrgb(93, 149, 31)
HSLhsl(88, 66%, 35%)
HSVhsv(88, 79%, 58%)
CMYKcmyk(37.6%, 0%, 79.2%, 41.6%)
CIE-LABlab(56.01, -37.16, 52.08)
CIE-LCHlch(56.01, 63.97, 125.51°)
OKLaboklab(60.83% -0.105 0.1154)
OKLCHoklch(60.83% 0.156 132.3)
XYZxyz(15.5088, 23.9203, 5.0960)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D951F #571F95
analogous
#95921F #5D951F #22951F
triadic
#5D951F #1F5D95 #951F5D
tetradic
#5D951F #1F9592 #571F95 #951F22
square
#5D951F #1F9592 #571F95 #951F22
split-complementary
#5D951F #1F2295 #921F95
monochromatic
#1E300A #3D6214 #5D951F #7DC82A #9BDB53

Accessibility & contrast

On white

3.63
#5D951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5D951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D951F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D951F#FFFFFF#000000##000000
##5D951F1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#5E8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d951f;
/* rgb */ color: rgb(93, 149, 31);
/* oklch */ color: oklch(60.8% 0.156 132.3);
Tailwind
colors: {
  custom: {
    50: '#90b465',
    500: '#5d951f',
    950: '#000000',
  },
}
SCSS
$custom: #5d951f;
$custom-light: #90b465;
$custom-dark: #000000;
JSON
{
  "hex": "#5d951f",
  "rgb": {
    "r": 93,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 88.475,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6083,
    "c": 0.15602,
    "h": 132.3
  },
  "luminance": 0.23921
}

Semantic roles & 50–950 ramp

primary
#5D951F
secondary
#8551BF
accent
#3FE990
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D951F

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

Preview Lab → · Contrast checker → · Palette generator →

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