#5C8B2D#5C8B2D

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

Color values

HEX#5C8B2D
RGBrgb(92, 139, 45)
HSLhsl(90, 51%, 36%)
HSVhsv(90, 68%, 55%)
CMYKcmyk(33.8%, 0%, 67.6%, 45.5%)
CIE-LABlab(52.87, -32.05, 43.59)
CIE-LCHlch(52.87, 54.11, 126.33°)
OKLaboklab(58.29% -0.09 0.0997)
OKLCHoklch(58.29% 0.134 132.1)
XYZxyz(14.1197, 20.9295, 5.7780)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B2D #5C2D8B
analogous
#8B8B2D #5C8B2D #2D8B2D
triadic
#5C8B2D #2D5C8B #8B2D5C
tetradic
#5C8B2D #2D8B8B #5C2D8B #8B2D2D
square
#5C8B2D #2D8B8B #5C2D8B #8B2D2D
split-complementary
#5C8B2D #2D2D8B #8B2D8B
monochromatic
#1F2F0F #3D5D1E #5C8B2D #7BB93C #99CD65

Accessibility & contrast

On white

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

On black

5.19
#5C8B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8B2D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8B2D#FFFFFF#000000##000000
##5C8B2D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#8A7D35
Tritanopia (blue-blind)
#5D8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b2d;
/* rgb */ color: rgb(92, 139, 45);
/* oklch */ color: oklch(58.3% 0.134 132.1);
Tailwind
colors: {
  custom: {
    50: '#8ead6b',
    500: '#5c8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b2d;
$custom-light: #8ead6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b2d",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 90,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.13433,
    "h": 132.1
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#5C8B2D
secondary
#8A60B4
accent
#4DDB94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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