#5C7D1E#5C7D1E

#5C7D1E is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.5% C 0.126 H 127.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5C7D1E
RGBrgb(92, 125, 30)
HSLhsl(81, 61%, 30%)
HSVhsv(81, 76%, 49%)
CMYKcmyk(26.4%, 0%, 76%, 51%)
CIE-LABlab(48.31, -26.47, 45.03)
CIE-LCHlch(48.31, 52.23, 120.45°)
OKLaboklab(54.54% -0.0761 0.1004)
OKLCHoklch(54.54% 0.126 127.1)
XYZxyz(11.9816, 17.0360, 3.8851)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7D1E #3F1E7D
analogous
#7D6E1E #5C7D1E #2D7D1E
triadic
#5C7D1E #1E5C7D #7D1E5C
tetradic
#5C7D1E #1E7D6E #3F1E7D #7D1E2D
square
#5C7D1E #1E7D6E #3F1E7D #7D1E2D
split-complementary
#5C7D1E #1E2D7D #6E1E7D
monochromatic
#131A06 #384C12 #5C7D1E #80AE2A #A0D243

Accessibility & contrast

On white

4.76
#5C7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5C7D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7D1E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7D1E#FFFFFF#000000##FFFFFF
##5C7D1E1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740B
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#60776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c7d1e;
/* rgb */ color: rgb(92, 125, 30);
/* oklch */ color: oklch(54.5% 0.126 127.1);
Tailwind
colors: {
  custom: {
    50: '#8da261',
    500: '#5c7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #5c7d1e;
$custom-light: #8da261;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7d1e",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 80.842,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.126,
    "h": 127.1
  },
  "luminance": 0.17036
}

Semantic roles & 50–950 ramp

primary
#5C7D1E
secondary
#6B46B0
accent
#43E47B
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0D0F05
muted
#7D7F7A

Preview Lab

Preview with #5C7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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