#5C7511#5C7511

#5C7511 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.4% C 0.123 H 123.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5C7511
RGBrgb(92, 117, 17)
HSLhsl(75, 75%, 26%)
HSVhsv(75, 85%, 46%)
CMYKcmyk(21.4%, 0%, 85.5%, 54.1%)
CIE-LABlab(45.69, -23.15, 46.91)
CIE-LCHlch(45.69, 52.31, 116.26°)
OKLaboklab(52.39% -0.068 0.1021)
OKLCHoklch(52.39% 0.123 123.7)
XYZxyz(10.8762, 15.0383, 2.8599)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7511 #2A1175
analogous
#755C11 #5C7511 #2A7511
triadic
#5C7511 #115C75 #75115C
tetradic
#5C7511 #11755C #2A1175 #75112A
square
#5C7511 #11755C #2A1175 #75112A
split-complementary
#5C7511 #112A75 #5C1175
monochromatic
#151B04 #324009 #5C7511 #86AA19 #B0DF22

Accessibility & contrast

On white

5.24
#5C7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5C7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7511
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7511#FFFFFF#000000##FFFFFF
##5C75111.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#616F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c7511;
/* rgb */ color: rgb(92, 117, 17);
/* oklch */ color: oklch(52.4% 0.123 123.7);
Tailwind
colors: {
  custom: {
    50: '#8e9c5a',
    500: '#5c7511',
    950: '#000000',
  },
}
SCSS
$custom: #5c7511;
$custom-light: #8e9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7511",
  "rgb": {
    "r": 92,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 75,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.12272,
    "h": 123.7
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#5C7511
secondary
#5336AC
accent
#37F165
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7511

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

Preview Lab → · Contrast checker → · Palette generator →

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