#666E15#666E15

#666E15 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.5% C 0.108 H 114.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#666E15
RGBrgb(102, 110, 21)
HSLhsl(65, 68%, 26%)
HSVhsv(65, 81%, 43%)
CMYKcmyk(7.3%, 0%, 80.9%, 56.9%)
CIE-LABlab(44.28, -14.75, 44.70)
CIE-LCHlch(44.28, 47.07, 108.26°)
OKLaboklab(51.46% -0.0453 0.0978)
OKLCHoklch(51.46% 0.108 114.8)
XYZxyz(11.1911, 14.0310, 2.8280)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E15 #1D156E
analogous
#6E4915 #666E15 #396E15
triadic
#666E15 #15666E #6E1566
tetradic
#666E15 #156E49 #1D156E #6E1539
square
#666E15 #156E49 #1D156E #6E1539
split-complementary
#666E15 #15396E #49156E
monochromatic
#181A05 #363B0B #666E15 #96A11F #C5D529

Accessibility & contrast

On white

5.52
#666E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#666E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666E15
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E15#FFFFFF#000000##FFFFFF
##666E151.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#76691D
Tritanopia (blue-blind)
#6D675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e15;
/* rgb */ color: rgb(102, 110, 21);
/* oklch */ color: oklch(51.5% 0.108 114.8);
Tailwind
colors: {
  custom: {
    50: '#95975b',
    500: '#666e15',
    950: '#000000',
  },
}
SCSS
$custom: #666e15;
$custom-light: #95975b;
$custom-dark: #000000;
JSON
{
  "hex": "#666e15",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 65.393,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51458,
    "c": 0.10778,
    "h": 114.8
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#666E15
secondary
#443AA4
accent
#3DEB4D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666E15

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

Preview Lab → · Contrast checker → · Palette generator →

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