#5E7211#5E7211

#5E7211 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.8% C 0.118 H 121.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5E7211
RGBrgb(94, 114, 17)
HSLhsl(72, 74%, 26%)
HSVhsv(72, 85%, 45%)
CMYKcmyk(17.5%, 0%, 85.1%, 55.3%)
CIE-LABlab(44.88, -20.72, 46.25)
CIE-LCHlch(44.88, 50.68, 114.13°)
OKLaboklab(51.78% -0.0615 0.1007)
OKLCHoklch(51.78% 0.118 121.4)
XYZxyz(10.7348, 14.4548, 2.7547)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7211 #251172
analogous
#725511 #5E7211 #2D7211
triadic
#5E7211 #115E72 #72115E
tetradic
#5E7211 #117255 #251172 #72112D
square
#5E7211 #117255 #251172 #72112D
split-complementary
#5E7211 #112D72 #551172
monochromatic
#161B04 #323D09 #5E7211 #8AA719 #B6DD21

Accessibility & contrast

On white

5.40
#5E7211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5E7211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7211
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7211#FFFFFF#000000##FFFFFF
##5E72111.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#776A1C
Tritanopia (blue-blind)
#646C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e7211;
/* rgb */ color: rgb(94, 114, 17);
/* oklch */ color: oklch(51.8% 0.118 121.4);
Tailwind
colors: {
  custom: {
    50: '#8f9a5a',
    500: '#5e7211',
    950: '#000000',
  },
}
SCSS
$custom: #5e7211;
$custom-light: #8f9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7211",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 72.371,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.11798,
    "h": 121.4
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#5E7211
secondary
#4D36A9
accent
#37F15D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7211

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

Preview Lab → · Contrast checker → · Palette generator →

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