#5C8E2C#5C8E2C

#5C8E2C is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.139 H 132.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5C8E2C
RGBrgb(92, 142, 44)
HSLhsl(91, 53%, 36%)
HSVhsv(91, 69%, 56%)
CMYKcmyk(35.2%, 0%, 69%, 44.3%)
CIE-LABlab(53.82, -33.52, 45.02)
CIE-LCHlch(53.82, 56.12, 126.67°)
OKLaboklab(59.06% -0.0941 0.1026)
OKLCHoklch(59.06% 0.139 132.5)
XYZxyz(14.5411, 21.8026, 5.8246)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E2C #5E2C8E
analogous
#8D8E2C #5C8E2C #2C8E2D
triadic
#5C8E2C #2C5C8E #8E2C5C
tetradic
#5C8E2C #2C8D8E #5E2C8E #8E2D2C
square
#5C8E2C #2C8D8E #5E2C8E #8E2D2C
split-complementary
#5C8E2C #2D2C8E #8E2C8D
monochromatic
#1F310F #3E5F1E #5C8E2C #7ABD3A #99CF65

Accessibility & contrast

On white

3.92
#5C8E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5C8E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E2C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E2C#FFFFFF#000000##000000
##5C8E2C1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831E
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#5D887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8e2c;
/* rgb */ color: rgb(92, 142, 44);
/* oklch */ color: oklch(59.1% 0.139 132.5);
Tailwind
colors: {
  custom: {
    50: '#8eaf6b',
    500: '#5c8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e2c;
$custom-light: #8eaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e2c",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 90.612,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59055,
    "c": 0.1392,
    "h": 132.5
  },
  "luminance": 0.21803
}

Semantic roles & 50–950 ramp

primary
#5C8E2C
secondary
#8C60B6
accent
#4CDC95
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5C8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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