#666912#666912

#666912 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.2% C 0.104 H 111.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#666912
RGBrgb(102, 105, 18)
HSLhsl(62, 71%, 24%)
HSVhsv(62, 83%, 41%)
CMYKcmyk(2.9%, 0%, 82.9%, 58.8%)
CIE-LABlab(42.72, -12.13, 44.28)
CIE-LCHlch(42.72, 45.91, 105.32°)
OKLaboklab(50.21% -0.0383 0.0963)
OKLCHoklch(50.21% 0.104 111.7)
XYZxyz(10.6406, 12.9719, 2.5155)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666912 #151269
analogous
#694112 #666912 #3B6912
triadic
#666912 #126669 #691266
tetradic
#666912 #126941 #151269 #69123B
square
#666912 #126941 #151269 #69123B
split-complementary
#666912 #123B69 #411269
monochromatic
#191A04 #333509 #666912 #999D1B #CCD124

Accessibility & contrast

On white

5.84
#666912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#666912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666912
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666912#FFFFFF#000000##FFFFFF
##6669121.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#72661A
Tritanopia (blue-blind)
#6E6259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #666912;
/* rgb */ color: rgb(102, 105, 18);
/* oklch */ color: oklch(50.2% 0.104 111.7);
Tailwind
colors: {
  custom: {
    50: '#959359',
    500: '#666912',
    950: '#000000',
  },
}
SCSS
$custom: #666912;
$custom-light: #959359;
$custom-dark: #000000;
JSON
{
  "hex": "#666912",
  "rgb": {
    "r": 102,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 62.069,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.10366,
    "h": 111.7
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

primary
#666912
secondary
#3A36A1
accent
#3AED40
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666912

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

Preview Lab → · Contrast checker → · Palette generator →

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