#5E7815#5E7815

#5E7815 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.3% C 0.124 H 124.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5E7815
RGBrgb(94, 120, 21)
HSLhsl(76, 70%, 28%)
HSVhsv(76, 83%, 47%)
CMYKcmyk(21.7%, 0%, 82.5%, 52.9%)
CIE-LABlab(46.80, -23.62, 46.76)
CIE-LCHlch(46.80, 52.39, 116.79°)
OKLaboklab(53.34% -0.0691 0.1025)
OKLCHoklch(53.34% 0.124 124)
XYZxyz(11.4681, 15.8667, 3.1677)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7815 #2F1578
analogous
#786115 #5E7815 #2C7815
triadic
#5E7815 #155E78 #78155E
tetradic
#5E7815 #157861 #2F1578 #78152C
square
#5E7815 #157861 #2F1578 #78152C
split-complementary
#5E7815 #152C78 #611578
monochromatic
#141A05 #35440C #5E7815 #87AC1E #ADDA2D

Accessibility & contrast

On white

5.03
#5E7815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5E7815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7815
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7815#FFFFFF#000000##FFFFFF
##5E78151.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7C6F1F
Tritanopia (blue-blind)
#637266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e7815;
/* rgb */ color: rgb(94, 120, 21);
/* oklch */ color: oklch(53.3% 0.124 124.0);
Tailwind
colors: {
  custom: {
    50: '#8f9f5c',
    500: '#5e7815',
    950: '#000000',
  },
}
SCSS
$custom: #5e7815;
$custom-light: #8f9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7815",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 75.758,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.12361,
    "h": 124
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#5E7815
secondary
#593BAE
accent
#3BED6A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7815

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

Preview Lab → · Contrast checker → · Palette generator →

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