#5E660F#5E660F

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

Color values

HEX#5E660F
RGBrgb(94, 102, 15)
HSLhsl(66, 74%, 23%)
HSVhsv(66, 85%, 40%)
CMYKcmyk(7.8%, 0%, 85.3%, 60%)
CIE-LABlab(41.08, -14.39, 43.51)
CIE-LCHlch(41.08, 45.82, 108.30°)
OKLaboklab(48.72% -0.0443 0.0944)
OKLCHoklch(48.72% 0.104 115.1)
XYZxyz(9.4540, 11.9171, 2.2540)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E660F #170F66
analogous
#66420F #5E660F #32660F
triadic
#5E660F #0F5E66 #660F5E
tetradic
#5E660F #0F6642 #170F66 #660F32
square
#5E660F #0F6642 #170F66 #660F32
split-complementary
#5E660F #0F3266 #420F66
monochromatic
#191B04 #2D3107 #5E660F #8F9B17 #C0D11F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E660F#FFFFFF#000000##FFFFFF
##5E660F1.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)
#6D6218
Tritanopia (blue-blind)
#655F56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e660f;
/* rgb */ color: rgb(94, 102, 15);
/* oklch */ color: oklch(48.7% 0.104 115.1);
Tailwind
colors: {
  custom: {
    50: '#8f9157',
    500: '#5e660f',
    950: '#000000',
  },
}
SCSS
$custom: #5e660f;
$custom-light: #8f9157;
$custom-dark: #000000;
JSON
{
  "hex": "#5e660f",
  "rgb": {
    "r": 94,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 65.517,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48719,
    "c": 0.10431,
    "h": 115.1
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#5E660F
secondary
#3C329F
accent
#37F148
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E660F

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

Preview Lab → · Contrast checker → · Palette generator →

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