#5C8C2F#5C8C2F

#5C8C2F is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.134 H 132.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5C8C2F
RGBrgb(92, 140, 47)
HSLhsl(91, 50%, 37%)
HSVhsv(91, 66%, 55%)
CMYKcmyk(34.3%, 0%, 66.4%, 45.1%)
CIE-LABlab(53.21, -32.35, 43.07)
CIE-LCHlch(53.21, 53.86, 126.91°)
OKLaboklab(58.57% -0.0906 0.0989)
OKLCHoklch(58.57% 0.134 132.5)
XYZxyz(14.3046, 21.2362, 6.0341)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8C2F #5F2F8C
analogous
#8B8C2F #5C8C2F #2F8C31
triadic
#5C8C2F #2F5C8C #8C2F5C
tetradic
#5C8C2F #2F8B8C #5F2F8C #8C312F
square
#5C8C2F #2F8B8C #5F2F8C #8C312F
split-complementary
#5C8C2F #312F8C #8C2F8B
monochromatic
#203010 #3E5E20 #5C8C2F #7ABA3E #99CD69

Accessibility & contrast

On white

4.00
#5C8C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5C8C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8C2F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8C2F#FFFFFF#000000##000000
##5C8C2F1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#8B7E36
Tritanopia (blue-blind)
#5D8679
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c8c2f;
/* rgb */ color: rgb(92, 140, 47);
/* oklch */ color: oklch(58.6% 0.134 132.5);
Tailwind
colors: {
  custom: {
    50: '#8eae6c',
    500: '#5c8c2f',
    950: '#000000',
  },
}
SCSS
$custom: #5c8c2f;
$custom-light: #8eae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8c2f",
  "rgb": {
    "r": 92,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 90.968,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.13414,
    "h": 132.5
  },
  "luminance": 0.21237
}

Semantic roles & 50–950 ramp

primary
#5C8C2F
secondary
#8D63B4
accent
#4FD996
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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