#5E7D14#5E7D14

#5E7D14 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.130 H 125.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5E7D14
RGBrgb(94, 125, 20)
HSLhsl(78, 72%, 28%)
HSVhsv(78, 84%, 49%)
CMYKcmyk(24.8%, 0%, 84%, 51%)
CIE-LABlab(48.38, -26.15, 48.49)
CIE-LCHlch(48.38, 55.09, 118.34°)
OKLaboklab(54.62% -0.0761 0.106)
OKLCHoklch(54.62% 0.13 125.7)
XYZxyz(12.0761, 17.0972, 3.3256)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D14 #33147D
analogous
#7D6714 #5E7D14 #297D14
triadic
#5E7D14 #145E7D #7D145E
tetradic
#5E7D14 #147D67 #33147D #7D1429
square
#5E7D14 #147D67 #33147D #7D1429
split-complementary
#5E7D14 #14297D #67147D
monochromatic
#141A04 #36480C #5E7D14 #86B21C #AADE2E

Accessibility & contrast

On white

4.75
#5E7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5E7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7D14
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7D14#FFFFFF#000000##FFFFFF
##5E7D141.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#63776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d14;
/* rgb */ color: rgb(94, 125, 20);
/* oklch */ color: oklch(54.6% 0.130 125.7);
Tailwind
colors: {
  custom: {
    50: '#8fa25d',
    500: '#5e7d14',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d14;
$custom-light: #8fa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d14",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 77.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.13045,
    "h": 125.7
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

primary
#5E7D14
secondary
#5E3AB2
accent
#39EF6F
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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