#5E6718#5E6718

#5E6718 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.0% C 0.100 H 115.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5E6718
RGBrgb(94, 103, 24)
HSLhsl(67, 62%, 25%)
HSVhsv(67, 77%, 40%)
CMYKcmyk(8.7%, 0%, 76.7%, 59.6%)
CIE-LABlab(41.45, -14.51, 40.72)
CIE-LCHlch(41.45, 43.23, 109.62°)
OKLaboklab(49.03% -0.0439 0.0903)
OKLCHoklch(49.03% 0.1 115.9)
XYZxyz(9.6315, 12.1463, 2.7011)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6718 #211867
analogous
#674818 #5E6718 #376718
triadic
#5E6718 #185E67 #67185E
tetradic
#5E6718 #186748 #211867 #671837
square
#5E6718 #186748 #211867 #671837
split-complementary
#5E6718 #183767 #481867
monochromatic
#171906 #31350C #5E6718 #8B9924 #B9CA2F

Accessibility & contrast

On white

6.12
#5E6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5E6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6718
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6718#FFFFFF#000000##FFFFFF
##5E67181.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6109
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#646158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e6718;
/* rgb */ color: rgb(94, 103, 24);
/* oklch */ color: oklch(49.0% 0.100 115.9);
Tailwind
colors: {
  custom: {
    50: '#8e925b',
    500: '#5e6718',
    950: '#000000',
  },
}
SCSS
$custom: #5e6718;
$custom-light: #8e925b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6718",
  "rgb": {
    "r": 94,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 66.835,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49027,
    "c": 0.10036,
    "h": 115.9
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#5E6718
secondary
#493E9D
accent
#43E555
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0D04
muted
#7D7D79

Preview Lab

Preview with #5E6718

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

Preview Lab → · Contrast checker → · Palette generator →

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