#5C8B2A#5C8B2A

#5C8B2A is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.137 H 131.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5C8B2A
RGBrgb(92, 139, 42)
HSLhsl(89, 54%, 35%)
HSVhsv(89, 70%, 55%)
CMYKcmyk(33.8%, 0%, 69.8%, 45.5%)
CIE-LABlab(52.85, -32.30, 44.84)
CIE-LCHlch(52.85, 55.26, 125.76°)
OKLaboklab(58.26% -0.0909 0.1019)
OKLCHoklch(58.26% 0.137 131.7)
XYZxyz(14.0640, 20.9072, 5.4845)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B2A #592A8B
analogous
#8B892A #5C8B2A #2C8B2A
triadic
#5C8B2A #2A5C8B #8B2A5C
tetradic
#5C8B2A #2A8B89 #592A8B #8B2A2C
square
#5C8B2A #2A8B89 #592A8B #8B2A2C
split-complementary
#5C8B2A #2A2C8B #892A8B
monochromatic
#1E2D0E #3D5C1C #5C8B2A #7BBA38 #99CF60

Accessibility & contrast

On white

4.05
#5C8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5C8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8B2A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8B2A#FFFFFF#000000##000000
##5C8B2A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801C
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#5D8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b2a;
/* rgb */ color: rgb(92, 139, 42);
/* oklch */ color: oklch(58.3% 0.137 131.7);
Tailwind
colors: {
  custom: {
    50: '#8ead69',
    500: '#5c8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b2a;
$custom-light: #8ead69;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b2a",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 89.072,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5826,
    "c": 0.13659,
    "h": 131.7
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#5C8B2A
secondary
#875CB5
accent
#4BDD92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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