#5C811B#5C811B

#5C811B is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.133 H 128.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5C811B
RGBrgb(92, 129, 27)
HSLhsl(82, 65%, 31%)
HSVhsv(82, 79%, 51%)
CMYKcmyk(28.7%, 0%, 79.1%, 49.4%)
CIE-LABlab(49.56, -28.59, 47.31)
CIE-LCHlch(49.56, 55.28, 121.14°)
OKLaboklab(55.55% -0.0821 0.1047)
OKLCHoklch(55.55% 0.133 128.1)
XYZxyz(12.4617, 18.0547, 3.8650)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C811B #401B81
analogous
#81731B #5C811B #29811B
triadic
#5C811B #1B5C81 #811B5C
tetradic
#5C811B #1B8173 #401B81 #811B29
square
#5C811B #1B8173 #401B81 #811B29
split-complementary
#5C811B #1B2981 #731B81
monochromatic
#141C06 #384E10 #5C811B #80B426 #A0D73F

Accessibility & contrast

On white

4.55
#5C811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5C811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C811B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C811B#FFFFFF#000000##000000
##5C811B1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887702
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#5F7B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c811b;
/* rgb */ color: rgb(92, 129, 27);
/* oklch */ color: oklch(55.6% 0.133 128.1);
Tailwind
colors: {
  custom: {
    50: '#8ea560',
    500: '#5c811b',
    950: '#000000',
  },
}
SCSS
$custom: #5c811b;
$custom-light: #8ea560;
$custom-dark: #000000;
JSON
{
  "hex": "#5c811b",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 81.765,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.13306,
    "h": 128.1
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#5C811B
secondary
#6C43B5
accent
#3FE87D
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C811B

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

Preview Lab → · Contrast checker → · Palette generator →

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