#5E7011#5E7011

#5E7011 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.3% C 0.116 H 120.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5E7011
RGBrgb(94, 112, 17)
HSLhsl(71, 74%, 25%)
HSVhsv(71, 85%, 44%)
CMYKcmyk(16.1%, 0%, 84.8%, 56.1%)
CIE-LABlab(44.25, -19.68, 45.69)
CIE-LCHlch(44.25, 49.75, 113.30°)
OKLaboklab(51.27% -0.0587 0.0995)
OKLCHoklch(51.27% 0.116 120.5)
XYZxyz(10.5117, 14.0085, 2.6804)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7011 #231170
analogous
#705211 #5E7011 #2F7011
triadic
#5E7011 #115E70 #70115E
tetradic
#5E7011 #117052 #231170 #70112F
square
#5E7011 #117052 #231170 #70112F
split-complementary
#5E7011 #112F70 #521170
monochromatic
#161B04 #313B09 #5E7011 #8BA519 #B7DA21

Accessibility & contrast

On white

5.52
#5E7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5E7011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7011
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7011#FFFFFF#000000##FFFFFF
##5E70111.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#75691B
Tritanopia (blue-blind)
#646A5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e7011;
/* rgb */ color: rgb(94, 112, 17);
/* oklch */ color: oklch(51.3% 0.116 120.5);
Tailwind
colors: {
  custom: {
    50: '#8f9959',
    500: '#5e7011',
    950: '#000000',
  },
}
SCSS
$custom: #5e7011;
$custom-light: #8f9959;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7011",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 71.368,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.1155,
    "h": 120.5
  },
  "luminance": 0.14008
}

Semantic roles & 50–950 ramp

primary
#5E7011
secondary
#4B35A7
accent
#37F05B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E7011

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

Preview Lab → · Contrast checker → · Palette generator →

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