#666E18#666E18

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

Color values

HEX#666E18
RGBrgb(102, 110, 24)
HSLhsl(66, 64%, 26%)
HSVhsv(66, 78%, 43%)
CMYKcmyk(7.3%, 0%, 78.2%, 56.9%)
CIE-LABlab(44.29, -14.61, 43.66)
CIE-LCHlch(44.29, 46.04, 108.50°)
OKLaboklab(51.48% -0.0446 0.0962)
OKLCHoklch(51.48% 0.106 114.9)
XYZxyz(11.2206, 14.0428, 2.9834)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E18 #20186E
analogous
#6E4B18 #666E18 #3B6E18
triadic
#666E18 #18666E #6E1866
tetradic
#666E18 #186E4B #20186E #6E183B
square
#666E18 #186E4B #20186E #6E183B
split-complementary
#666E18 #183B6E #4B186E
monochromatic
#171905 #373C0D #666E18 #95A023 #C2D22F

Accessibility & contrast

On white

5.51
#666E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666E18
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E18#FFFFFF#000000##FFFFFF
##666E181.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666e18;
/* rgb */ color: rgb(102, 110, 24);
/* oklch */ color: oklch(51.5% 0.106 114.9);
Tailwind
colors: {
  custom: {
    50: '#94975c',
    500: '#666e18',
    950: '#000000',
  },
}
SCSS
$custom: #666e18;
$custom-light: #94975c;
$custom-dark: #000000;
JSON
{
  "hex": "#666e18",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 65.581,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.10604,
    "h": 114.9
  },
  "luminance": 0.14043
}

Semantic roles & 50–950 ramp

primary
#666E18
secondary
#483EA4
accent
#41E750
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666E18

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

Preview Lab → · Contrast checker → · Palette generator →

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