#5E660E#5E660E

#5E660E is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.7% C 0.105 H 115.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5E660E
RGBrgb(94, 102, 14)
HSLhsl(65, 76%, 23%)
HSVhsv(65, 86%, 40%)
CMYKcmyk(7.8%, 0%, 86.3%, 60%)
CIE-LABlab(41.08, -14.42, 43.80)
CIE-LCHlch(41.08, 46.11, 108.23°)
OKLaboklab(48.71% -0.0445 0.0949)
OKLCHoklch(48.71% 0.105 115.1)
XYZxyz(9.4470, 11.9143, 2.2174)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E660E #160E66
analogous
#66420E #5E660E #32660E
triadic
#5E660E #0E5E66 #660E5E
tetradic
#5E660E #0E6642 #160E66 #660E32
square
#5E660E #0E6642 #160E66 #660E32
split-complementary
#5E660E #0E3266 #420E66
monochromatic
#191B04 #2C3007 #5E660E #909C15 #C1D21D

Accessibility & contrast

On white

6.21
#5E660E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5E660E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E660E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E660E#FFFFFF#000000##FFFFFF
##5E660E1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6E6217
Tritanopia (blue-blind)
#655F56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e660e;
/* rgb */ color: rgb(94, 102, 14);
/* oklch */ color: oklch(48.7% 0.105 115.1);
Tailwind
colors: {
  custom: {
    50: '#8f9157',
    500: '#5e660e',
    950: '#000000',
  },
}
SCSS
$custom: #5e660e;
$custom-light: #8f9157;
$custom-dark: #000000;
JSON
{
  "hex": "#5e660e",
  "rgb": {
    "r": 94,
    "g": 102,
    "b": 14
  },
  "hsl": {
    "h": 65.455,
    "s": 75.862,
    "l": 22.745
  },
  "oklch": {
    "l": 0.48714,
    "c": 0.10478,
    "h": 115.1
  },
  "luminance": 0.11914
}

Semantic roles & 50–950 ramp

primary
#5E660E
secondary
#3B319F
accent
#35F247
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E660E

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

Preview Lab → · Contrast checker → · Palette generator →

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