#5C8E2F#5C8E2F

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

Color values

HEX#5C8E2F
RGBrgb(92, 142, 47)
HSLhsl(92, 50%, 37%)
HSVhsv(92, 67%, 56%)
CMYKcmyk(35.2%, 0%, 66.9%, 44.3%)
CIE-LABlab(53.84, -33.27, 43.75)
CIE-LCHlch(53.84, 54.97, 127.25°)
OKLaboklab(59.08% -0.0932 0.1003)
OKLCHoklch(59.08% 0.137 132.9)
XYZxyz(14.5995, 21.8260, 6.1324)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E2F #612F8E
analogous
#8C8E2F #5C8E2F #2F8E31
triadic
#5C8E2F #2F5C8E #8E2F5C
tetradic
#5C8E2F #2F8C8E #612F8E #8E312F
square
#5C8E2F #2F8C8E #612F8E #8E312F
split-complementary
#5C8E2F #312F8E #8E2F8C
monochromatic
#203211 #3E6020 #5C8E2F #7ABC3E #99CE6A

Accessibility & contrast

On white

3.91
#5C8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5C8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E2F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E2F#FFFFFF#000000##000000
##5C8E2F1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#8D7F37
Tritanopia (blue-blind)
#5D887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8e2f;
/* rgb */ color: rgb(92, 142, 47);
/* oklch */ color: oklch(59.1% 0.137 132.9);
Tailwind
colors: {
  custom: {
    50: '#8eaf6c',
    500: '#5c8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e2f;
$custom-light: #8eaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e2f",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 91.579,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59083,
    "c": 0.13691,
    "h": 132.9
  },
  "luminance": 0.21827
}

Semantic roles & 50–950 ramp

primary
#5C8E2F
secondary
#8F64B5
accent
#4EDA98
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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