#666412#666412

#666412 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 49.0% C 0.098 H 108.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#666412
RGBrgb(102, 100, 18)
HSLhsl(59, 70%, 24%)
HSVhsv(59, 82%, 40%)
CMYKcmyk(0%, 2%, 82.4%, 60%)
CIE-LABlab(41.19, -9.32, 42.91)
CIE-LCHlch(41.19, 43.91, 102.25°)
OKLaboklab(48.98% -0.0305 0.0934)
OKLCHoklch(48.98% 0.098 108.1)
XYZxyz(10.1462, 11.9831, 2.3507)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666412 #121466
analogous
#663A12 #666412 #3E6612
triadic
#666412 #126664 #641266
tetradic
#666412 #12663A #121466 #66123E
square
#666412 #12663A #121466 #66123E
split-complementary
#666412 #123E66 #3A1266
monochromatic
#1A1905 #323109 #666412 #9A971B #CECA24

Accessibility & contrast

On white

6.18
#666412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#666412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666412
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666412#FFFFFF#000000##FFFFFF
##6664121.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#6E5D55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #666412;
/* rgb */ color: rgb(102, 100, 18);
/* oklch */ color: oklch(49.0% 0.098 108.1);
Tailwind
colors: {
  custom: {
    50: '#958f58',
    500: '#666412',
    950: '#000000',
  },
}
SCSS
$custom: #666412;
$custom-light: #958f58;
$custom-dark: #000000;
JSON
{
  "hex": "#666412",
  "rgb": {
    "r": 102,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 58.571,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48982,
    "c": 0.09824,
    "h": 108.1
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#666412
secondary
#36389E
accent
#3FED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666412

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

Preview Lab → · Contrast checker → · Palette generator →

#666412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva