#5C7D1A#5C7D1A

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

Color values

HEX#5C7D1A
RGBrgb(92, 125, 26)
HSLhsl(80, 66%, 30%)
HSVhsv(80, 79%, 49%)
CMYKcmyk(26.4%, 0%, 79.2%, 51%)
CIE-LABlab(48.28, -26.70, 46.44)
CIE-LCHlch(48.28, 53.57, 119.90°)
OKLaboklab(54.51% -0.077 0.1027)
OKLCHoklch(54.51% 0.128 126.9)
XYZxyz(11.9338, 17.0169, 3.6329)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7D1A #3B1A7D
analogous
#7D6D1A #5C7D1A #2B7D1A
triadic
#5C7D1A #1A5C7D #7D1A5C
tetradic
#5C7D1A #1A7D6D #3B1A7D #7D1A2B
square
#5C7D1A #1A7D6D #3B1A7D #7D1A2B
split-complementary
#5C7D1A #1A2B7D #6D1A7D
monochromatic
#131905 #374A0F #5C7D1A #81B025 #A3D63B

Accessibility & contrast

On white

4.77
#5C7D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5C7D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7D1A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7D1A#FFFFFF#000000##FFFFFF
##5C7D1A1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847402
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#60776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c7d1a;
/* rgb */ color: rgb(92, 125, 26);
/* oklch */ color: oklch(54.5% 0.128 126.9);
Tailwind
colors: {
  custom: {
    50: '#8ea25f',
    500: '#5c7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #5c7d1a;
$custom-light: #8ea25f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7d1a",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 80,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.12841,
    "h": 126.9
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

primary
#5C7D1A
secondary
#6742B1
accent
#3FE978
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5C7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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