#5C8A2B#5C8A2B

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

Color values

HEX#5C8A2B
RGBrgb(92, 138, 43)
HSLhsl(89, 52%, 35%)
HSVhsv(89, 69%, 54%)
CMYKcmyk(33.3%, 0%, 68.8%, 45.9%)
CIE-LABlab(52.54, -31.75, 44.09)
CIE-LCHlch(52.54, 54.34, 125.76°)
OKLaboklab(58.01% -0.0894 0.1005)
OKLCHoklch(58.01% 0.134 131.7)
XYZxyz(13.9380, 20.6262, 5.5319)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A2B #592B8A
analogous
#8A882B #5C8A2B #2C8A2B
triadic
#5C8A2B #2B5C8A #8A2B5C
tetradic
#5C8A2B #2B8A88 #592B8A #8A2B2C
square
#5C8A2B #2B8A88 #592B8A #8A2B2C
split-complementary
#5C8A2B #2B2C8A #882B8A
monochromatic
#1E2D0E #3D5B1C #5C8A2B #7BB93A #99CE61

Accessibility & contrast

On white

4.10
#5C8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8A2B#FFFFFF#000000##000000
##5C8A2B1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801E
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#5D8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a2b;
/* rgb */ color: rgb(92, 138, 43);
/* oklch */ color: oklch(58.0% 0.134 131.7);
Tailwind
colors: {
  custom: {
    50: '#8eac6a',
    500: '#5c8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a2b;
$custom-light: #8eac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a2b",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 89.053,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.13449,
    "h": 131.7
  },
  "luminance": 0.20627
}

Semantic roles & 50–950 ramp

primary
#5C8A2B
secondary
#875DB4
accent
#4CDC92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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