#5C8B2B#5C8B2B

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

Color values

HEX#5C8B2B
RGBrgb(92, 139, 43)
HSLhsl(89, 53%, 36%)
HSVhsv(89, 69%, 55%)
CMYKcmyk(33.8%, 0%, 69.1%, 45.5%)
CIE-LABlab(52.86, -32.22, 44.43)
CIE-LCHlch(52.86, 54.88, 125.95°)
OKLaboklab(58.27% -0.0906 0.1012)
OKLCHoklch(58.27% 0.136 131.9)
XYZxyz(14.0821, 20.9145, 5.5800)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B2B #5A2B8B
analogous
#8B8A2B #5C8B2B #2C8B2B
triadic
#5C8B2B #2B5C8B #8B2B5C
tetradic
#5C8B2B #2B8B8A #5A2B8B #8B2B2C
square
#5C8B2B #2B8B8A #5A2B8B #8B2B2C
split-complementary
#5C8B2B #2B2C8B #8A2B8B
monochromatic
#1E2E0E #3D5C1D #5C8B2B #7BBA39 #99CE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8B2B#FFFFFF#000000##000000
##5C8B2B1.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)
#91801D
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#5D8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b2b;
/* rgb */ color: rgb(92, 139, 43);
/* oklch */ color: oklch(58.3% 0.136 131.9);
Tailwind
colors: {
  custom: {
    50: '#8ead6a',
    500: '#5c8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b2b;
$custom-light: #8ead6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b2b",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 89.375,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58269,
    "c": 0.13585,
    "h": 131.9
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#5C8B2B
secondary
#885DB5
accent
#4CDC92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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