#5E7014#5E7014

#5E7014 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.3% C 0.114 H 120.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5E7014
RGBrgb(94, 112, 20)
HSLhsl(72, 70%, 26%)
HSVhsv(72, 82%, 44%)
CMYKcmyk(16.1%, 0%, 82.1%, 56.1%)
CIE-LABlab(44.26, -19.55, 44.78)
CIE-LCHlch(44.26, 48.86, 113.58°)
OKLaboklab(51.28% -0.0581 0.0981)
OKLCHoklch(51.28% 0.114 120.6)
XYZxyz(10.5367, 14.0186, 2.8124)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7014 #261470
analogous
#705414 #5E7014 #307014
triadic
#5E7014 #145E70 #70145E
tetradic
#5E7014 #147054 #261470 #701430
square
#5E7014 #147054 #261470 #701430
split-complementary
#5E7014 #143070 #541470
monochromatic
#161A05 #323C0B #5E7014 #8AA41D #B5D827

Accessibility & contrast

On white

5.52
#5E7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5E7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7014
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7014#FFFFFF#000000##FFFFFF
##5E70141.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#646A5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e7014;
/* rgb */ color: rgb(94, 112, 20);
/* oklch */ color: oklch(51.3% 0.114 120.6);
Tailwind
colors: {
  custom: {
    50: '#8f995b',
    500: '#5e7014',
    950: '#000000',
  },
}
SCSS
$custom: #5e7014;
$custom-light: #8f995b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7014",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 71.739,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51282,
    "c": 0.114,
    "h": 120.6
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

primary
#5E7014
secondary
#4F39A6
accent
#3BED5E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E7014

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

Preview Lab → · Contrast checker → · Palette generator →

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