#5E7718#5E7718

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

Color values

HEX#5E7718
RGBrgb(94, 119, 24)
HSLhsl(76, 66%, 28%)
HSVhsv(76, 80%, 47%)
CMYKcmyk(21%, 0%, 79.8%, 53.3%)
CIE-LABlab(46.50, -22.96, 45.50)
CIE-LCHlch(46.50, 50.97, 116.78°)
OKLaboklab(53.1% -0.0671 0.1004)
OKLCHoklch(53.1% 0.121 123.8)
XYZxyz(11.3779, 15.6392, 3.2832)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7718 #311877
analogous
#776018 #5E7718 #2F7718
triadic
#5E7718 #185E77 #77185E
tetradic
#5E7718 #187760 #311877 #77182F
square
#5E7718 #187760 #311877 #77182F
split-complementary
#5E7718 #182F77 #601877
monochromatic
#141905 #36440E #5E7718 #86AA22 #ABD633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7718#FFFFFF#000000##FFFFFF
##5E77181.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)
#7E6F01
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#637165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e7718;
/* rgb */ color: rgb(94, 119, 24);
/* oklch */ color: oklch(53.1% 0.121 123.8);
Tailwind
colors: {
  custom: {
    50: '#8f9e5e',
    500: '#5e7718',
    950: '#000000',
  },
}
SCSS
$custom: #5e7718;
$custom-light: #8f9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7718",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 75.789,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53097,
    "c": 0.12073,
    "h": 123.8
  },
  "luminance": 0.15639
}

Semantic roles & 50–950 ramp

primary
#5E7718
secondary
#5C3FAC
accent
#3EE96B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7718

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

Preview Lab → · Contrast checker → · Palette generator →

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