#5C8126#5C8126

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

Color values

HEX#5C8126
RGBrgb(92, 129, 38)
HSLhsl(84, 54%, 33%)
HSVhsv(84, 71%, 51%)
CMYKcmyk(28.7%, 0%, 70.5%, 49.4%)
CIE-LABlab(49.64, -27.87, 43.18)
CIE-LCHlch(49.64, 51.40, 122.84°)
OKLaboklab(55.64% -0.0792 0.0978)
OKLCHoklch(55.64% 0.126 129)
XYZxyz(12.6137, 18.1154, 4.6654)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8126 #4B2681
analogous
#817926 #5C8126 #2E8126
triadic
#5C8126 #265C81 #81265C
tetradic
#5C8126 #268179 #4B2681 #81262E
square
#5C8126 #268179 #4B2681 #81262E
split-complementary
#5C8126 #262E81 #792681
monochromatic
#19220A #3A5218 #5C8126 #7EB034 #9CCD55

Accessibility & contrast

On white

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

On black

4.62
#5C8126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8126
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8126#FFFFFF#000000##000000
##5C81261.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877818
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#5F7B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8126;
/* rgb */ color: rgb(92, 129, 38);
/* oklch */ color: oklch(55.6% 0.126 129.0);
Tailwind
colors: {
  custom: {
    50: '#8da566',
    500: '#5c8126',
    950: '#000000',
  },
}
SCSS
$custom: #5c8126;
$custom-light: #8da566;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8126",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 84.396,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.12588,
    "h": 129
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#5C8126
secondary
#7851B1
accent
#4ADE86
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8126

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

Preview Lab → · Contrast checker → · Palette generator →

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