#666D12#666D12

#666D12 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.2% C 0.108 H 114.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#666D12
RGBrgb(102, 109, 18)
HSLhsl(65, 72%, 25%)
HSVhsv(65, 83%, 43%)
CMYKcmyk(6.4%, 0%, 83.5%, 57.3%)
CIE-LABlab(43.95, -14.33, 45.38)
CIE-LCHlch(43.95, 47.59, 107.53°)
OKLaboklab(51.19% -0.0444 0.0987)
OKLCHoklch(51.19% 0.108 114.2)
XYZxyz(11.0577, 13.8060, 2.6545)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D12 #19126D
analogous
#6D4612 #666D12 #396D12
triadic
#666D12 #12666D #6D1266
tetradic
#666D12 #126D46 #19126D #6D1239
square
#666D12 #126D46 #19126D #6D1239
split-complementary
#666D12 #12396D #46126D
monochromatic
#191A04 #353809 #666D12 #97A21B #C8D623

Accessibility & contrast

On white

5.58
#666D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#666D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D12
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D12#FFFFFF#000000##FFFFFF
##666D121.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#75691B
Tritanopia (blue-blind)
#6D665C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d12;
/* rgb */ color: rgb(102, 109, 18);
/* oklch */ color: oklch(51.2% 0.108 114.2);
Tailwind
colors: {
  custom: {
    50: '#95965a',
    500: '#666d12',
    950: '#000000',
  },
}
SCSS
$custom: #666d12;
$custom-light: #95965a;
$custom-dark: #000000;
JSON
{
  "hex": "#666d12",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 64.615,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.10819,
    "h": 114.2
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#666D12
secondary
#3F37A4
accent
#39EE47
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666D12

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

Preview Lab → · Contrast checker → · Palette generator →

#666D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva