#5E7615#5E7615

#5E7615 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.8% C 0.121 H 123.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5E7615
RGBrgb(94, 118, 21)
HSLhsl(75, 70%, 27%)
HSVhsv(75, 82%, 46%)
CMYKcmyk(20.3%, 0%, 82.2%, 53.7%)
CIE-LABlab(46.16, -22.60, 46.19)
CIE-LCHlch(46.16, 51.42, 116.08°)
OKLaboklab(52.82% -0.0664 0.1013)
OKLCHoklch(52.82% 0.121 123.2)
XYZxyz(11.2300, 15.3906, 3.0884)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7615 #2D1576
analogous
#765D15 #5E7615 #2E7615
triadic
#5E7615 #155E76 #76155E
tetradic
#5E7615 #15765D #2D1576 #76152E
square
#5E7615 #15765D #2D1576 #76152E
split-complementary
#5E7615 #152E76 #5D1576
monochromatic
#151A05 #35420C #5E7615 #87AA1E #AFD92C

Accessibility & contrast

On white

5.15
#5E7615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5E7615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7615
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7615#FFFFFF#000000##FFFFFF
##5E76151.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#637064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e7615;
/* rgb */ color: rgb(94, 118, 21);
/* oklch */ color: oklch(52.8% 0.121 123.2);
Tailwind
colors: {
  custom: {
    50: '#8f9d5c',
    500: '#5e7615',
    950: '#000000',
  },
}
SCSS
$custom: #5e7615;
$custom-light: #8f9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7615",
  "rgb": {
    "r": 94,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 74.845,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.12106,
    "h": 123.2
  },
  "luminance": 0.15391
}

Semantic roles & 50–950 ramp

primary
#5E7615
secondary
#573BAC
accent
#3BED67
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7615

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

Preview Lab → · Contrast checker → · Palette generator →

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