#5E7313#5E7313

#5E7313 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.0% C 0.118 H 121.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5E7313
RGBrgb(94, 115, 19)
HSLhsl(73, 72%, 26%)
HSVhsv(73, 83%, 45%)
CMYKcmyk(18.3%, 0%, 83.5%, 54.9%)
CIE-LABlab(45.20, -21.15, 45.94)
CIE-LCHlch(45.20, 50.58, 114.72°)
OKLaboklab(52.04% -0.0626 0.1004)
OKLCHoklch(52.04% 0.118 121.9)
XYZxyz(10.8646, 14.6881, 2.8787)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7313 #281373
analogous
#735813 #5E7313 #2E7313
triadic
#5E7313 #135E73 #73135E
tetradic
#5E7313 #137358 #281373 #73132E
square
#5E7313 #137358 #281373 #73132E
split-complementary
#5E7313 #132E73 #581373
monochromatic
#151A04 #333E0A #5E7313 #89A81C #B3DB25

Accessibility & contrast

On white

5.33
#5E7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5E7313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7313
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7313#FFFFFF#000000##FFFFFF
##5E73131.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#646D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e7313;
/* rgb */ color: rgb(94, 115, 19);
/* oklch */ color: oklch(52.0% 0.118 121.9);
Tailwind
colors: {
  custom: {
    50: '#8f9b5b',
    500: '#5e7313',
    950: '#000000',
  },
}
SCSS
$custom: #5e7313;
$custom-light: #8f9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7313",
  "rgb": {
    "r": 94,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 73.125,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.11828,
    "h": 121.9
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#5E7313
secondary
#5138AA
accent
#39EE61
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7313

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

Preview Lab → · Contrast checker → · Palette generator →

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