#666F19#666F19

#666F19 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.7% C 0.107 H 115.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#666F19
RGBrgb(102, 111, 25)
HSLhsl(66, 63%, 27%)
HSVhsv(66, 77%, 44%)
CMYKcmyk(8.1%, 0%, 77.5%, 56.5%)
CIE-LABlab(44.61, -15.10, 43.59)
CIE-LCHlch(44.61, 46.13, 109.11°)
OKLaboklab(51.73% -0.0459 0.0962)
OKLCHoklch(51.73% 0.107 115.5)
XYZxyz(11.3397, 14.2640, 3.0754)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F19 #22196F
analogous
#6F4D19 #666F19 #3B6F19
triadic
#666F19 #19666F #6F1966
tetradic
#666F19 #196F4D #22196F #6F193B
square
#666F19 #196F4D #22196F #6F193B
split-complementary
#666F19 #193B6F #4D196F
monochromatic
#171906 #383D0E #666F19 #94A124 #C0D132

Accessibility & contrast

On white

5.45
#666F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#666F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F19
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F19#FFFFFF#000000##FFFFFF
##666F191.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776907
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666f19;
/* rgb */ color: rgb(102, 111, 25);
/* oklch */ color: oklch(51.7% 0.107 115.5);
Tailwind
colors: {
  custom: {
    50: '#94985d',
    500: '#666f19',
    950: '#000000',
  },
}
SCSS
$custom: #666f19;
$custom-light: #94985d;
$custom-dark: #000000;
JSON
{
  "hex": "#666f19",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 66.279,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51732,
    "c": 0.10661,
    "h": 115.5
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#666F19
secondary
#4A3FA4
accent
#42E653
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666F19

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

Preview Lab → · Contrast checker → · Palette generator →

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