#5E7314#5E7314

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

Color values

HEX#5E7314
RGBrgb(94, 115, 20)
HSLhsl(73, 70%, 26%)
HSVhsv(73, 83%, 45%)
CMYKcmyk(18.3%, 0%, 82.6%, 54.9%)
CIE-LABlab(45.21, -21.11, 45.64)
CIE-LCHlch(45.21, 50.28, 114.82°)
OKLaboklab(52.05% -0.0624 0.0999)
OKLCHoklch(52.05% 0.118 122)
XYZxyz(10.8733, 14.6916, 2.9246)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7314 #291473
analogous
#735914 #5E7314 #2F7314
triadic
#5E7314 #145E73 #73145E
tetradic
#5E7314 #147359 #291473 #73142F
square
#5E7314 #147359 #291473 #73142F
split-complementary
#5E7314 #142F73 #591473
monochromatic
#151A05 #333F0B #5E7314 #89A71D #B2DA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7314#FFFFFF#000000##FFFFFF
##5E73141.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)
#786B1E
Tritanopia (blue-blind)
#646D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e7314;
/* rgb */ color: rgb(94, 115, 20);
/* oklch */ color: oklch(52.0% 0.118 122.0);
Tailwind
colors: {
  custom: {
    50: '#8f9b5b',
    500: '#5e7314',
    950: '#000000',
  },
}
SCSS
$custom: #5e7314;
$custom-light: #8f9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7314",
  "rgb": {
    "r": 94,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 73.263,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.11778,
    "h": 122
  },
  "luminance": 0.14692
}

Semantic roles & 50–950 ramp

primary
#5E7314
secondary
#523AA9
accent
#3BED62
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7314

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

Preview Lab → · Contrast checker → · Palette generator →

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