#5C7411#5C7411

#5C7411 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 52.1% C 0.121 H 123.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5C7411
RGBrgb(92, 116, 17)
HSLhsl(75, 74%, 26%)
HSVhsv(75, 85%, 45%)
CMYKcmyk(20.7%, 0%, 85.3%, 54.5%)
CIE-LABlab(45.37, -22.64, 46.62)
CIE-LCHlch(45.37, 51.83, 115.90°)
OKLaboklab(52.14% -0.0666 0.1016)
OKLCHoklch(52.14% 0.121 123.3)
XYZxyz(10.7604, 14.8065, 2.8213)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7411 #291174
analogous
#745A11 #5C7411 #2B7411
triadic
#5C7411 #115C74 #74115C
tetradic
#5C7411 #11745A #291174 #74112B
square
#5C7411 #11745A #291174 #74112B
split-complementary
#5C7411 #112B74 #5A1174
monochromatic
#151B04 #323F09 #5C7411 #86A919 #B1DE21

Accessibility & contrast

On white

5.30
#5C7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5C7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7411
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7411#FFFFFF#000000##FFFFFF
##5C74111.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#616E62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c7411;
/* rgb */ color: rgb(92, 116, 17);
/* oklch */ color: oklch(52.1% 0.121 123.3);
Tailwind
colors: {
  custom: {
    50: '#8e9c5a',
    500: '#5c7411',
    950: '#000000',
  },
}
SCSS
$custom: #5c7411;
$custom-light: #8e9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7411",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 74.545,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52136,
    "c": 0.12147,
    "h": 123.3
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#5C7411
secondary
#5236AB
accent
#37F164
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7411

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

Preview Lab → · Contrast checker → · Palette generator →

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