#5C8A2E#5C8A2E

#5C8A2E is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.132 H 132.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5C8A2E
RGBrgb(92, 138, 46)
HSLhsl(90, 50%, 36%)
HSVhsv(90, 67%, 54%)
CMYKcmyk(33.3%, 0%, 66.7%, 45.9%)
CIE-LABlab(52.56, -31.50, 42.82)
CIE-LCHlch(52.56, 53.16, 126.34°)
OKLaboklab(58.04% -0.0884 0.0982)
OKLCHoklch(58.04% 0.132 132)
XYZxyz(13.9951, 20.6490, 5.8325)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A2E #5C2E8A
analogous
#8A8A2E #5C8A2E #2E8A2E
triadic
#5C8A2E #2E5C8A #8A2E5C
tetradic
#5C8A2E #2E8A8A #5C2E8A #8A2E2E
square
#5C8A2E #2E8A8A #5C2E8A #8A2E2E
split-complementary
#5C8A2E #2E2E8A #8A2E8A
monochromatic
#1F2E0F #3D5C1F #5C8A2E #7BB83D #99CC66

Accessibility & contrast

On white

4.09
#5C8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5C8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A2E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A2E#FFFFFF#000000##000000
##5C8A2E1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#5D8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a2e;
/* rgb */ color: rgb(92, 138, 46);
/* oklch */ color: oklch(58.0% 0.132 132.0);
Tailwind
colors: {
  custom: {
    50: '#8eac6b',
    500: '#5c8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a2e;
$custom-light: #8eac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a2e",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 90,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58039,
    "c": 0.13216,
    "h": 132
  },
  "luminance": 0.2065
}

Semantic roles & 50–950 ramp

primary
#5C8A2E
secondary
#8A61B3
accent
#4EDA94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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