#5E7515#5E7515

#5E7515 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.120 H 122.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5E7515
RGBrgb(94, 117, 21)
HSLhsl(74, 70%, 27%)
HSVhsv(74, 82%, 46%)
CMYKcmyk(19.7%, 0%, 82.1%, 54.1%)
CIE-LABlab(45.85, -22.09, 45.90)
CIE-LCHlch(45.85, 50.94, 115.70°)
OKLaboklab(52.57% -0.065 0.1006)
OKLCHoklch(52.57% 0.12 122.8)
XYZxyz(11.1129, 15.1564, 3.0493)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7515 #2C1575
analogous
#755C15 #5E7515 #2E7515
triadic
#5E7515 #155E75 #75155E
tetradic
#5E7515 #15755C #2C1575 #75152E
square
#5E7515 #15755C #2C1575 #75152E
split-complementary
#5E7515 #152E75 #5C1575
monochromatic
#151A05 #34410C #5E7515 #88A91E #AFD92B

Accessibility & contrast

On white

5.21
#5E7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5E7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7515
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7515#FFFFFF#000000##FFFFFF
##5E75151.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#636F63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e7515;
/* rgb */ color: rgb(94, 117, 21);
/* oklch */ color: oklch(52.6% 0.120 122.8);
Tailwind
colors: {
  custom: {
    50: '#8f9c5c',
    500: '#5e7515',
    950: '#000000',
  },
}
SCSS
$custom: #5e7515;
$custom-light: #8f9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7515",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 74.375,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.11979,
    "h": 122.8
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#5E7515
secondary
#563BAB
accent
#3BEC66
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7515

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

Preview Lab → · Contrast checker → · Palette generator →

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