#5C8A2D#5C8A2D

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

Color values

HEX#5C8A2D
RGBrgb(92, 138, 45)
HSLhsl(90, 51%, 36%)
HSVhsv(90, 67%, 54%)
CMYKcmyk(33.3%, 0%, 67.4%, 45.9%)
CIE-LABlab(52.55, -31.59, 43.25)
CIE-LCHlch(52.55, 53.56, 126.14°)
OKLaboklab(58.03% -0.0887 0.099)
OKLCHoklch(58.03% 0.133 131.9)
XYZxyz(13.9756, 20.6412, 5.7299)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A2D #5B2D8A
analogous
#8A892D #5C8A2D #2D8A2D
triadic
#5C8A2D #2D5C8A #8A2D5C
tetradic
#5C8A2D #2D8A89 #5B2D8A #8A2D2D
square
#5C8A2D #2D8A89 #5B2D8A #8A2D2D
split-complementary
#5C8A2D #2D2D8A #892D8A
monochromatic
#1E2E0F #3D5C1E #5C8A2D #7BB83C #99CD65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8A2D#FFFFFF#000000##000000
##5C8A2D1.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)
#908021
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#5D8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a2d;
/* rgb */ color: rgb(92, 138, 45);
/* oklch */ color: oklch(58.0% 0.133 131.9);
Tailwind
colors: {
  custom: {
    50: '#8eac6b',
    500: '#5c8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a2d;
$custom-light: #8eac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a2d",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 89.677,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.13295,
    "h": 131.9
  },
  "luminance": 0.20642
}

Semantic roles & 50–950 ramp

primary
#5C8A2D
secondary
#8960B3
accent
#4DDA93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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