#666712#666712

#666712 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.7% C 0.101 H 110.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#666712
RGBrgb(102, 103, 18)
HSLhsl(61, 70%, 24%)
HSVhsv(61, 83%, 40%)
CMYKcmyk(1%, 0%, 82.5%, 59.6%)
CIE-LABlab(42.11, -11.01, 43.73)
CIE-LCHlch(42.11, 45.10, 104.13°)
OKLaboklab(49.72% -0.0352 0.0952)
OKLCHoklch(49.72% 0.101 110.3)
XYZxyz(10.4393, 12.5693, 2.4484)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666712 #131267
analogous
#673D12 #666712 #3B6712
triadic
#666712 #126667 #671266
tetradic
#666712 #12673D #131267 #67123B
square
#666712 #12673D #131267 #67123B
split-complementary
#666712 #123B67 #3D1267
monochromatic
#1A1A05 #323309 #666712 #9A9B1B #CDCF24

Accessibility & contrast

On white

5.98
#666712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#666712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666712
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666712#FFFFFF#000000##FFFFFF
##6667121.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#71641A
Tritanopia (blue-blind)
#6E6057
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #666712;
/* rgb */ color: rgb(102, 103, 18);
/* oklch */ color: oklch(49.7% 0.101 110.3);
Tailwind
colors: {
  custom: {
    50: '#959259',
    500: '#666712',
    950: '#000000',
  },
}
SCSS
$custom: #666712;
$custom-light: #959259;
$custom-dark: #000000;
JSON
{
  "hex": "#666712",
  "rgb": {
    "r": 102,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 60.706,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49715,
    "c": 0.10145,
    "h": 110.3
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#666712
secondary
#37369F
accent
#3BED3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666712

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

Preview Lab → · Contrast checker → · Palette generator →

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