#666B14#666B14

#666B14 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.105 H 113.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#666B14
RGBrgb(102, 107, 20)
HSLhsl(63, 69%, 25%)
HSVhsv(63, 81%, 42%)
CMYKcmyk(4.7%, 0%, 81.3%, 58%)
CIE-LABlab(43.35, -13.15, 44.19)
CIE-LCHlch(43.35, 46.10, 106.57°)
OKLaboklab(50.71% -0.0409 0.0965)
OKLCHoklch(50.71% 0.105 113)
XYZxyz(10.8638, 13.3909, 2.6741)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B14 #19146B
analogous
#6B4414 #666B14 #3B6B14
triadic
#666B14 #14666B #6B1466
tetradic
#666B14 #146B44 #19146B #6B143B
square
#666B14 #146B44 #19146B #6B143B
split-complementary
#666B14 #143B6B #44146B
monochromatic
#191A05 #35370A #666B14 #979F1E #C8D227

Accessibility & contrast

On white

5.71
#666B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#666B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666B14
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666B14#FFFFFF#000000##FFFFFF
##666B141.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#6D645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666b14;
/* rgb */ color: rgb(102, 107, 20);
/* oklch */ color: oklch(50.7% 0.105 113.0);
Tailwind
colors: {
  custom: {
    50: '#95955a',
    500: '#666b14',
    950: '#000000',
  },
}
SCSS
$custom: #666b14;
$custom-light: #95955a;
$custom-dark: #000000;
JSON
{
  "hex": "#666b14",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 63.448,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.10485,
    "h": 113
  },
  "luminance": 0.13391
}

Semantic roles & 50–950 ramp

primary
#666B14
secondary
#3F39A2
accent
#3CEB47
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666B14

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

Preview Lab → · Contrast checker → · Palette generator →

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