#5C951F#5C951F

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

Color values

HEX#5C951F
RGBrgb(92, 149, 31)
HSLhsl(89, 66%, 35%)
HSVhsv(89, 79%, 58%)
CMYKcmyk(38.3%, 0%, 79.2%, 41.6%)
CIE-LABlab(55.96, -37.52, 52.01)
CIE-LCHlch(55.96, 64.13, 125.81°)
OKLaboklab(60.77% -0.106 0.1153)
OKLCHoklch(60.77% 0.157 132.6)
XYZxyz(15.4082, 23.8684, 5.0913)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C951F #581F95
analogous
#95931F #5C951F #21951F
triadic
#5C951F #1F5C95 #951F5C
tetradic
#5C951F #1F9593 #581F95 #951F21
square
#5C951F #1F9593 #581F95 #951F21
split-complementary
#5C951F #1F2195 #931F95
monochromatic
#1D300A #3D6214 #5C951F #7BC82A #9ADB53

Accessibility & contrast

On white

3.64
#5C951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5C951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C951F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C951F#FFFFFF#000000##000000
##5C951F1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c951f;
/* rgb */ color: rgb(92, 149, 31);
/* oklch */ color: oklch(60.8% 0.157 132.6);
Tailwind
colors: {
  custom: {
    50: '#8fb465',
    500: '#5c951f',
    950: '#000000',
  },
}
SCSS
$custom: #5c951f;
$custom-light: #8fb465;
$custom-dark: #000000;
JSON
{
  "hex": "#5c951f",
  "rgb": {
    "r": 92,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 88.983,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60774,
    "c": 0.15656,
    "h": 132.6
  },
  "luminance": 0.23869
}

Semantic roles & 50–950 ramp

primary
#5C951F
secondary
#8651BF
accent
#3FE991
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C951F

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

Preview Lab → · Contrast checker → · Palette generator →

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