#5E7511#5E7511

#5E7511 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.5% C 0.122 H 122.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5E7511
RGBrgb(94, 117, 17)
HSLhsl(74, 75%, 26%)
HSVhsv(74, 85%, 46%)
CMYKcmyk(19.7%, 0%, 85.5%, 54.1%)
CIE-LABlab(45.83, -22.26, 47.08)
CIE-LCHlch(45.83, 52.08, 115.31°)
OKLaboklab(52.55% -0.0657 0.1025)
OKLCHoklch(52.55% 0.122 122.7)
XYZxyz(11.0787, 15.1427, 2.8694)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7511 #281175
analogous
#755A11 #5E7511 #2C7511
triadic
#5E7511 #115E75 #75115E
tetradic
#5E7511 #11755A #281175 #75112C
square
#5E7511 #11755A #281175 #75112C
split-complementary
#5E7511 #112C75 #5A1175
monochromatic
#151B04 #334009 #5E7511 #89AA19 #B3DF22

Accessibility & contrast

On white

5.21
#5E7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5E7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7511
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7511#FFFFFF#000000##FFFFFF
##5E75111.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7A6C1C
Tritanopia (blue-blind)
#636F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e7511;
/* rgb */ color: rgb(94, 117, 17);
/* oklch */ color: oklch(52.5% 0.122 122.7);
Tailwind
colors: {
  custom: {
    50: '#8f9c5a',
    500: '#5e7511',
    950: '#000000',
  },
}
SCSS
$custom: #5e7511;
$custom-light: #8f9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7511",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 73.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.12174,
    "h": 122.7
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#5E7511
secondary
#5136AC
accent
#37F161
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7511

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

Preview Lab → · Contrast checker → · Palette generator →

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