#5C811C#5C811C

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

Color values

HEX#5C811C
RGBrgb(92, 129, 28)
HSLhsl(82, 64%, 31%)
HSVhsv(82, 78%, 51%)
CMYKcmyk(28.7%, 0%, 78.3%, 49.4%)
CIE-LABlab(49.57, -28.53, 46.97)
CIE-LCHlch(49.57, 54.96, 121.28°)
OKLaboklab(55.56% -0.0819 0.1042)
OKLCHoklch(55.56% 0.132 128.2)
XYZxyz(12.4735, 18.0594, 3.9270)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C811C #411C81
analogous
#81731C #5C811C #2A811C
triadic
#5C811C #1C5C81 #811C5C
tetradic
#5C811C #1C8173 #411C81 #811C2A
square
#5C811C #1C8173 #411C81 #811C2A
split-complementary
#5C811C #1C2A81 #731C81
monochromatic
#141C06 #384F11 #5C811C #80B327 #A0D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C811C#FFFFFF#000000##000000
##5C811C1.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)
#887704
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#5F7B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c811c;
/* rgb */ color: rgb(92, 129, 28);
/* oklch */ color: oklch(55.6% 0.132 128.2);
Tailwind
colors: {
  custom: {
    50: '#8ea561',
    500: '#5c811c',
    950: '#000000',
  },
}
SCSS
$custom: #5c811c;
$custom-light: #8ea561;
$custom-dark: #000000;
JSON
{
  "hex": "#5c811c",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 81.98,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5556,
    "c": 0.13249,
    "h": 128.2
  },
  "luminance": 0.1806
}

Semantic roles & 50–950 ramp

primary
#5C811C
secondary
#6D44B4
accent
#40E77E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C811C

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

Preview Lab → · Contrast checker → · Palette generator →

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