#666D14#666D14

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

Color values

HEX#666D14
RGBrgb(102, 109, 20)
HSLhsl(65, 69%, 25%)
HSVhsv(65, 82%, 43%)
CMYKcmyk(6.4%, 0%, 81.7%, 57.3%)
CIE-LABlab(43.96, -14.25, 44.75)
CIE-LCHlch(43.96, 46.96, 107.66°)
OKLaboklab(51.21% -0.044 0.0977)
OKLCHoklch(51.21% 0.107 114.2)
XYZxyz(11.0747, 13.8128, 2.7444)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D14 #1B146D
analogous
#6D4714 #666D14 #396D14
triadic
#666D14 #14666D #6D1466
tetradic
#666D14 #146D47 #1B146D #6D1439
square
#666D14 #146D47 #1B146D #6D1439
split-complementary
#666D14 #14396D #47146D
monochromatic
#181A05 #36390B #666D14 #96A11D #C7D427

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666D14#FFFFFF#000000##FFFFFF
##666D141.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)
#75691C
Tritanopia (blue-blind)
#6D665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d14;
/* rgb */ color: rgb(102, 109, 20);
/* oklch */ color: oklch(51.2% 0.107 114.2);
Tailwind
colors: {
  custom: {
    50: '#95965a',
    500: '#666d14',
    950: '#000000',
  },
}
SCSS
$custom: #666d14;
$custom-light: #95965a;
$custom-dark: #000000;
JSON
{
  "hex": "#666d14",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 20
  },
  "hsl": {
    "h": 64.719,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51205,
    "c": 0.10715,
    "h": 114.2
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

primary
#666D14
secondary
#4139A4
accent
#3CEC4A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666D14

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

Preview Lab → · Contrast checker → · Palette generator →

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