#5E7214#5E7214

#5E7214 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.39:1 contrast (WCAG AA passes).

Color values

HEX#5E7214
RGBrgb(94, 114, 20)
HSLhsl(73, 70%, 26%)
HSVhsv(73, 82%, 45%)
CMYKcmyk(17.5%, 0%, 82.5%, 55.3%)
CIE-LABlab(44.89, -20.59, 45.35)
CIE-LCHlch(44.89, 49.81, 114.42°)
OKLaboklab(51.79% -0.061 0.0993)
OKLCHoklch(51.79% 0.117 121.5)
XYZxyz(10.7599, 14.4648, 2.8868)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7214 #281472
analogous
#725714 #5E7214 #2F7214
triadic
#5E7214 #145E72 #72145E
tetradic
#5E7214 #147257 #281472 #72142F
square
#5E7214 #147257 #281472 #72142F
split-complementary
#5E7214 #142F72 #571472
monochromatic
#151A05 #333E0B #5E7214 #89A61D #B3D927

Accessibility & contrast

On white

5.39
#5E7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E7214
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7214#FFFFFF#000000##FFFFFF
##5E72141.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#776A1E
Tritanopia (blue-blind)
#646C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e7214;
/* rgb */ color: rgb(94, 114, 20);
/* oklch */ color: oklch(51.8% 0.117 121.5);
Tailwind
colors: {
  custom: {
    50: '#8f9a5b',
    500: '#5e7214',
    950: '#000000',
  },
}
SCSS
$custom: #5e7214;
$custom-light: #8f9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7214",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 72.766,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51793,
    "c": 0.11652,
    "h": 121.5
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#5E7214
secondary
#5139A8
accent
#3BED61
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7214

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

Preview Lab → · Contrast checker → · Palette generator →

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