#666E12#666E12

#666E12 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.4% C 0.109 H 114.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#666E12
RGBrgb(102, 110, 18)
HSLhsl(65, 72%, 25%)
HSVhsv(65, 84%, 43%)
CMYKcmyk(7.3%, 0%, 83.6%, 56.9%)
CIE-LABlab(44.26, -14.88, 45.65)
CIE-LCHlch(44.26, 48.01, 108.05°)
OKLaboklab(51.44% -0.0459 0.0993)
OKLCHoklch(51.44% 0.109 114.8)
XYZxyz(11.1649, 14.0205, 2.6902)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E12 #1A126E
analogous
#6E4812 #666E12 #386E12
triadic
#666E12 #12666E #6E1266
tetradic
#666E12 #126E48 #1A126E #6E1238
square
#666E12 #126E48 #1A126E #6E1238
split-complementary
#666E12 #12386E #48126E
monochromatic
#181A04 #353909 #666E12 #97A31B #C8D723

Accessibility & contrast

On white

5.52
#666E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#666E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666E12
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E12#FFFFFF#000000##FFFFFF
##666E121.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#6D675D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e12;
/* rgb */ color: rgb(102, 110, 18);
/* oklch */ color: oklch(51.4% 0.109 114.8);
Tailwind
colors: {
  custom: {
    50: '#95975a',
    500: '#666e12',
    950: '#000000',
  },
}
SCSS
$custom: #666e12;
$custom-light: #95975a;
$custom-dark: #000000;
JSON
{
  "hex": "#666e12",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 65.217,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.10935,
    "h": 114.8
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#666E12
secondary
#4037A5
accent
#39EF49
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666E12

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

Preview Lab → · Contrast checker → · Palette generator →

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