#5C8125#5C8125

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

Color values

HEX#5C8125
RGBrgb(92, 129, 37)
HSLhsl(84, 55%, 33%)
HSVhsv(84, 71%, 51%)
CMYKcmyk(28.7%, 0%, 71.3%, 49.4%)
CIE-LABlab(49.63, -27.95, 43.59)
CIE-LCHlch(49.63, 51.78, 122.67°)
OKLaboklab(55.63% -0.0795 0.0986)
OKLCHoklch(55.63% 0.127 128.9)
XYZxyz(12.5978, 18.1091, 4.5816)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8125 #4A2581
analogous
#817825 #5C8125 #2E8125
triadic
#5C8125 #255C81 #81255C
tetradic
#5C8125 #258178 #4A2581 #81252E
square
#5C8125 #258178 #4A2581 #81252E
split-complementary
#5C8125 #252E81 #782581
monochromatic
#18220A #3A5117 #5C8125 #7EB133 #9CCE53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8125#FFFFFF#000000##000000
##5C81251.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)
#877817
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#5F7B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8125;
/* rgb */ color: rgb(92, 129, 37);
/* oklch */ color: oklch(55.6% 0.127 128.9);
Tailwind
colors: {
  custom: {
    50: '#8da565',
    500: '#5c8125',
    950: '#000000',
  },
}
SCSS
$custom: #5c8125;
$custom-light: #8da565;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8125",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 84.13,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55628,
    "c": 0.12662,
    "h": 128.9
  },
  "luminance": 0.18109
}

Semantic roles & 50–950 ramp

primary
#5C8125
secondary
#7750B2
accent
#49DF85
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8125

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

Preview Lab → · Contrast checker → · Palette generator →

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