#5E7315#5E7315

#5E7315 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.1% C 0.117 H 122.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5E7315
RGBrgb(94, 115, 21)
HSLhsl(73, 69%, 27%)
HSVhsv(73, 82%, 45%)
CMYKcmyk(18.3%, 0%, 81.7%, 54.9%)
CIE-LABlab(45.21, -21.06, 45.32)
CIE-LCHlch(45.21, 49.98, 114.93°)
OKLaboklab(52.05% -0.0622 0.0994)
OKLCHoklch(52.05% 0.117 122)
XYZxyz(10.8824, 14.6953, 2.9725)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7315 #2A1573
analogous
#735915 #5E7315 #2F7315
triadic
#5E7315 #155E73 #73155E
tetradic
#5E7315 #157359 #2A1573 #73152F
square
#5E7315 #157359 #2A1573 #73152F
split-complementary
#5E7315 #152F73 #591573
monochromatic
#151A05 #343F0C #5E7315 #88A71E #B1D82A

Accessibility & contrast

On white

5.33
#5E7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5E7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7315
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7315#FFFFFF#000000##FFFFFF
##5E73151.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#636D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e7315;
/* rgb */ color: rgb(94, 115, 21);
/* oklch */ color: oklch(52.1% 0.117 122.0);
Tailwind
colors: {
  custom: {
    50: '#8f9b5c',
    500: '#5e7315',
    950: '#000000',
  },
}
SCSS
$custom: #5e7315;
$custom-light: #8f9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7315",
  "rgb": {
    "r": 94,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 73.404,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52054,
    "c": 0.11726,
    "h": 122
  },
  "luminance": 0.14695
}

Semantic roles & 50–950 ramp

primary
#5E7315
secondary
#533BA9
accent
#3CEC63
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7315

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

Preview Lab → · Contrast checker → · Palette generator →

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