#5C7C1A#5C7C1A

#5C7C1A is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.3% C 0.127 H 126.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5C7C1A
RGBrgb(92, 124, 26)
HSLhsl(80, 65%, 29%)
HSVhsv(80, 79%, 49%)
CMYKcmyk(25.8%, 0%, 79%, 51.4%)
CIE-LABlab(47.96, -26.21, 46.14)
CIE-LCHlch(47.96, 53.07, 119.60°)
OKLaboklab(54.25% -0.0757 0.1021)
OKLCHoklch(54.25% 0.127 126.6)
XYZxyz(11.8078, 16.7650, 3.5910)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7C1A #3A1A7C
analogous
#7C6B1A #5C7C1A #2B7C1A
triadic
#5C7C1A #1A5C7C #7C1A5C
tetradic
#5C7C1A #1A7C6B #3A1A7C #7C1A2B
square
#5C7C1A #1A7C6B #3A1A7C #7C1A2B
split-complementary
#5C7C1A #1A2B7C #6B1A7C
monochromatic
#131905 #36490F #5C7C1A #82AF25 #A3D63B

Accessibility & contrast

On white

4.82
#5C7C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5C7C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7C1A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7C1A#FFFFFF#000000##FFFFFF
##5C7C1A1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#60766A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c7c1a;
/* rgb */ color: rgb(92, 124, 26);
/* oklch */ color: oklch(54.3% 0.127 126.6);
Tailwind
colors: {
  custom: {
    50: '#8ea25f',
    500: '#5c7c1a',
    950: '#000000',
  },
}
SCSS
$custom: #5c7c1a;
$custom-light: #8ea25f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7c1a",
  "rgb": {
    "r": 92,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 79.592,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.1271,
    "h": 126.6
  },
  "luminance": 0.16765
}

Semantic roles & 50–950 ramp

primary
#5C7C1A
secondary
#6642B0
accent
#40E877
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0F05
muted
#7D7E79

Preview Lab

Preview with #5C7C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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