#5A660E#5A660E

#5A660E is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.4% C 0.106 H 117.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5A660E
RGBrgb(90, 102, 14)
HSLhsl(68, 76%, 23%)
HSVhsv(68, 86%, 40%)
CMYKcmyk(11.8%, 0%, 86.3%, 60%)
CIE-LABlab(40.75, -16.31, 43.38)
CIE-LCHlch(40.75, 46.34, 110.61°)
OKLaboklab(48.37% -0.0495 0.0941)
OKLCHoklch(48.37% 0.106 117.7)
XYZxyz(9.0473, 11.7082, 2.1987)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A660E #1A0E66
analogous
#66460E #5A660E #2E660E
triadic
#5A660E #0E5A66 #660E5A
tetradic
#5A660E #0E6646 #1A0E66 #660E2E
square
#5A660E #0E6646 #1A0E66 #660E2E
split-complementary
#5A660E #0E2E66 #460E66
monochromatic
#181B04 #2B3007 #5A660E #899C15 #B9D21D

Accessibility & contrast

On white

6.28
#5A660E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5A660E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A660E
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A660E#FFFFFF#000000##FFFFFF
##5A660E1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6C6017
Tritanopia (blue-blind)
#606056
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a660e;
/* rgb */ color: rgb(90, 102, 14);
/* oklch */ color: oklch(48.4% 0.106 117.7);
Tailwind
colors: {
  custom: {
    50: '#8c9157',
    500: '#5a660e',
    950: '#000000',
  },
}
SCSS
$custom: #5a660e;
$custom-light: #8c9157;
$custom-dark: #000000;
JSON
{
  "hex": "#5a660e",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 14
  },
  "hsl": {
    "h": 68.182,
    "s": 75.862,
    "l": 22.745
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.10634,
    "h": 117.7
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#5A660E
secondary
#40319F
accent
#35F24F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A660E

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

Preview Lab → · Contrast checker → · Palette generator →

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