#666A14#666A14

#666A14 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.5% C 0.104 H 112.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#666A14
RGBrgb(102, 106, 20)
HSLhsl(63, 68%, 25%)
HSVhsv(63, 81%, 42%)
CMYKcmyk(3.8%, 0%, 81.1%, 58.4%)
CIE-LABlab(43.04, -12.60, 43.91)
CIE-LCHlch(43.04, 45.68, 106.01°)
OKLaboklab(50.46% -0.0394 0.0959)
OKLCHoklch(50.46% 0.104 112.3)
XYZxyz(10.7602, 13.1836, 2.6396)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A14 #18146A
analogous
#6A4314 #666A14 #3B6A14
triadic
#666A14 #14666A #6A1466
tetradic
#666A14 #146A43 #18146A #6A143B
square
#666A14 #146A43 #18146A #6A143B
split-complementary
#666A14 #143B6A #43146A
monochromatic
#191A05 #34370A #666A14 #989D1E #C9D127

Accessibility & contrast

On white

5.77
#666A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#666A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A14
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A14#FFFFFF#000000##FFFFFF
##666A141.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#6E635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a14;
/* rgb */ color: rgb(102, 106, 20);
/* oklch */ color: oklch(50.5% 0.104 112.3);
Tailwind
colors: {
  custom: {
    50: '#95945a',
    500: '#666a14',
    950: '#000000',
  },
}
SCSS
$custom: #666a14;
$custom-light: #95945a;
$custom-dark: #000000;
JSON
{
  "hex": "#666a14",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 62.791,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50464,
    "c": 0.10371,
    "h": 112.3
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#666A14
secondary
#3E39A1
accent
#3DEB45
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666A14

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

Preview Lab → · Contrast checker → · Palette generator →

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