#666B18#666B18

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

Color values

HEX#666B18
RGBrgb(102, 107, 24)
HSLhsl(64, 63%, 26%)
HSVhsv(64, 78%, 42%)
CMYKcmyk(4.7%, 0%, 77.6%, 58%)
CIE-LABlab(43.37, -12.96, 42.79)
CIE-LCHlch(43.37, 44.71, 106.85°)
OKLaboklab(50.74% -0.04 0.0944)
OKLCHoklch(50.74% 0.103 113)
XYZxyz(10.9024, 13.4064, 2.8773)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B18 #1D186B
analogous
#6B4618 #666B18 #3C6B18
triadic
#666B18 #18666B #6B1866
tetradic
#666B18 #186B46 #1D186B #6B183C
square
#666B18 #186B46 #1D186B #6B183C
split-complementary
#666B18 #183C6B #46186B
monochromatic
#181906 #36390D #666B18 #969D23 #C5CF2E

Accessibility & contrast

On white

5.70
#666B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666B18
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666B18#FFFFFF#000000##FFFFFF
##666B181.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666b18;
/* rgb */ color: rgb(102, 107, 24);
/* oklch */ color: oklch(50.7% 0.102 113.0);
Tailwind
colors: {
  custom: {
    50: '#94955c',
    500: '#666b18',
    950: '#000000',
  },
}
SCSS
$custom: #666b18;
$custom-light: #94955c;
$custom-dark: #000000;
JSON
{
  "hex": "#666b18",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 63.614,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.1025,
    "h": 113
  },
  "luminance": 0.13406
}

Semantic roles & 50–950 ramp

primary
#666B18
secondary
#443EA1
accent
#41E64B
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666B18

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

Preview Lab → · Contrast checker → · Palette generator →

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