#5E7715#5E7715

#5E7715 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 53.1% C 0.122 H 123.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5E7715
RGBrgb(94, 119, 21)
HSLhsl(75, 70%, 27%)
HSVhsv(75, 82%, 47%)
CMYKcmyk(21%, 0%, 82.4%, 53.3%)
CIE-LABlab(46.48, -23.11, 46.47)
CIE-LCHlch(46.48, 51.90, 116.44°)
OKLaboklab(53.08% -0.0678 0.1019)
OKLCHoklch(53.08% 0.122 123.6)
XYZxyz(11.3484, 15.6274, 3.1278)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7715 #2E1577
analogous
#775F15 #5E7715 #2D7715
triadic
#5E7715 #155E77 #77155E
tetradic
#5E7715 #15775F #2E1577 #77152D
square
#5E7715 #15775F #2E1577 #77152D
split-complementary
#5E7715 #152D77 #5F1577
monochromatic
#151A05 #35430C #5E7715 #87AB1E #AEDA2D

Accessibility & contrast

On white

5.09
#5E7715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5E7715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7715
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7715#FFFFFF#000000##FFFFFF
##5E77151.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#637165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e7715;
/* rgb */ color: rgb(94, 119, 21);
/* oklch */ color: oklch(53.1% 0.122 123.6);
Tailwind
colors: {
  custom: {
    50: '#8f9e5c',
    500: '#5e7715',
    950: '#000000',
  },
}
SCSS
$custom: #5e7715;
$custom-light: #8f9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7715",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 75.306,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.12235,
    "h": 123.6
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#5E7715
secondary
#583BAD
accent
#3BED68
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7715

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

Preview Lab → · Contrast checker → · Palette generator →

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