#5C812A#5C812A

#5C812A is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.7% C 0.123 H 129.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5C812A
RGBrgb(92, 129, 42)
HSLhsl(86, 51%, 34%)
HSVhsv(86, 67%, 51%)
CMYKcmyk(28.7%, 0%, 67.4%, 49.4%)
CIE-LABlab(49.67, -27.56, 41.49)
CIE-LCHlch(49.67, 49.81, 123.59°)
OKLaboklab(55.67% -0.078 0.0949)
OKLCHoklch(55.67% 0.123 129.4)
XYZxyz(12.6817, 18.1427, 5.0238)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C812A #4F2A81
analogous
#817A2A #5C812A #30812A
triadic
#5C812A #2A5C81 #812A5C
tetradic
#5C812A #2A817A #4F2A81 #812A30
square
#5C812A #2A817A #4F2A81 #812A30
split-complementary
#5C812A #2A3081 #7A2A81
monochromatic
#1A250C #3B531B #5C812A #7DAF39 #9BCA5C

Accessibility & contrast

On white

4.54
#5C812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5C812A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C812A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C812A#FFFFFF#000000##000000
##5C812A1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781F
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#5F7B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c812a;
/* rgb */ color: rgb(92, 129, 42);
/* oklch */ color: oklch(55.7% 0.123 129.4);
Tailwind
colors: {
  custom: {
    50: '#8da568',
    500: '#5c812a',
    950: '#000000',
  },
}
SCSS
$custom: #5c812a;
$custom-light: #8da568;
$custom-dark: #000000;
JSON
{
  "hex": "#5c812a",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 85.517,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55674,
    "c": 0.12281,
    "h": 129.4
  },
  "luminance": 0.18143
}

Semantic roles & 50–950 ramp

primary
#5C812A
secondary
#7D57AF
accent
#4DDA89
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C812A

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

Preview Lab → · Contrast checker → · Palette generator →

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