#5E7215#5E7215

#5E7215 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.8% C 0.116 H 121.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5E7215
RGBrgb(94, 114, 21)
HSLhsl(73, 69%, 26%)
HSVhsv(73, 82%, 45%)
CMYKcmyk(17.5%, 0%, 81.6%, 55.3%)
CIE-LABlab(44.90, -20.54, 45.03)
CIE-LCHlch(44.90, 49.50, 114.52°)
OKLaboklab(51.8% -0.0607 0.0988)
OKLCHoklch(51.8% 0.116 121.6)
XYZxyz(10.7689, 14.4684, 2.9347)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7215 #291572
analogous
#725815 #5E7215 #307215
triadic
#5E7215 #155E72 #72155E
tetradic
#5E7215 #157258 #291572 #721530
square
#5E7215 #157258 #291572 #721530
split-complementary
#5E7215 #153072 #581572
monochromatic
#151A05 #333E0B #5E7215 #89A61F #B2D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7215#FFFFFF#000000##FFFFFF
##5E72151.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: #5e7215;
/* rgb */ color: rgb(94, 114, 21);
/* oklch */ color: oklch(51.8% 0.116 121.6);
Tailwind
colors: {
  custom: {
    50: '#8f9a5b',
    500: '#5e7215',
    950: '#000000',
  },
}
SCSS
$custom: #5e7215;
$custom-light: #8f9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7215",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 72.903,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51799,
    "c": 0.11599,
    "h": 121.6
  },
  "luminance": 0.14468
}

Semantic roles & 50–950 ramp

primary
#5E7215
secondary
#523BA8
accent
#3CEC62
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7215

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

Preview Lab → · Contrast checker → · Palette generator →

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