#5E7B14#5E7B14

#5E7B14 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.128 H 125.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5E7B14
RGBrgb(94, 123, 20)
HSLhsl(77, 72%, 28%)
HSVhsv(77, 84%, 48%)
CMYKcmyk(23.6%, 0%, 83.7%, 51.8%)
CIE-LABlab(47.75, -25.16, 47.92)
CIE-LCHlch(47.75, 54.12, 117.70°)
OKLaboklab(54.1% -0.0734 0.1048)
OKLCHoklch(54.1% 0.128 125)
XYZxyz(11.8254, 16.5960, 3.2420)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7B14 #31147B
analogous
#7B6414 #5E7B14 #2B7B14
triadic
#5E7B14 #145E7B #7B145E
tetradic
#5E7B14 #147B64 #31147B #7B142B
square
#5E7B14 #147B64 #31147B #7B142B
split-complementary
#5E7B14 #142B7B #64147B
monochromatic
#141A04 #36460B #5E7B14 #86B01D #ABDD2D

Accessibility & contrast

On white

4.86
#5E7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5E7B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7B14
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7B14#FFFFFF#000000##FFFFFF
##5E7B141.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#637568
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e7b14;
/* rgb */ color: rgb(94, 123, 20);
/* oklch */ color: oklch(54.1% 0.128 125.0);
Tailwind
colors: {
  custom: {
    50: '#8fa15c',
    500: '#5e7b14',
    950: '#000000',
  },
}
SCSS
$custom: #5e7b14;
$custom-light: #8fa15c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7b14",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 76.893,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54103,
    "c": 0.12791,
    "h": 125
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#5E7B14
secondary
#5C3AB1
accent
#39EF6C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5E7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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