#5E7213#5E7213

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

Color values

HEX#5E7213
RGBrgb(94, 114, 19)
HSLhsl(73, 71%, 26%)
HSVhsv(73, 83%, 45%)
CMYKcmyk(17.5%, 0%, 83.3%, 55.3%)
CIE-LABlab(44.89, -20.64, 45.66)
CIE-LCHlch(44.89, 50.11, 114.32°)
OKLaboklab(51.79% -0.0612 0.0998)
OKLCHoklch(51.79% 0.117 121.5)
XYZxyz(10.7511, 14.4613, 2.8409)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7213 #271372
analogous
#725613 #5E7213 #2E7213
triadic
#5E7213 #135E72 #72135E
tetradic
#5E7213 #137256 #271372 #72132E
square
#5E7213 #137256 #271372 #72132E
split-complementary
#5E7213 #132E72 #561372
monochromatic
#161A04 #333E0A #5E7213 #89A61C #B4DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7213#FFFFFF#000000##FFFFFF
##5E72131.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)
#796B00
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#646C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e7213;
/* rgb */ color: rgb(94, 114, 19);
/* oklch */ color: oklch(51.8% 0.117 121.5);
Tailwind
colors: {
  custom: {
    50: '#8f9a5b',
    500: '#5e7213',
    950: '#000000',
  },
}
SCSS
$custom: #5e7213;
$custom-light: #8f9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7213",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 72.632,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.11703,
    "h": 121.5
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#5E7213
secondary
#5038A9
accent
#3AEE60
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7213

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

Preview Lab → · Contrast checker → · Palette generator →

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