#666B24#666B24

#666B24 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.8% C 0.094 H 113.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#666B24
RGBrgb(102, 107, 36)
HSLhsl(64, 50%, 28%)
HSVhsv(64, 66%, 42%)
CMYKcmyk(4.7%, 0%, 66.4%, 58%)
CIE-LABlab(43.46, -12.22, 37.82)
CIE-LCHlch(43.46, 39.74, 107.90°)
OKLaboklab(50.84% -0.0367 0.086)
OKLCHoklch(50.84% 0.094 113.1)
XYZxyz(11.0559, 13.4678, 3.6859)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B24 #29246B
analogous
#6B4C24 #666B24 #426B24
triadic
#666B24 #24666B #6B2466
tetradic
#666B24 #246B4C #29246B #6B2442
square
#666B24 #246B4C #29246B #6B2442
split-complementary
#666B24 #24426B #4C246B
monochromatic
#161708 #3A3D15 #666B24 #929933 #B9C148

Accessibility & contrast

On white

5.69
#666B24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#666B24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666B24
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666B24#FFFFFF#000000##FFFFFF
##666B241.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661B
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#6D655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666b24;
/* rgb */ color: rgb(102, 107, 36);
/* oklch */ color: oklch(50.8% 0.094 113.1);
Tailwind
colors: {
  custom: {
    50: '#949563',
    500: '#666b24',
    950: '#000000',
  },
}
SCSS
$custom: #666b24;
$custom-light: #949563;
$custom-dark: #000000;
JSON
{
  "hex": "#666b24",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 36
  },
  "hsl": {
    "h": 64.225,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50837,
    "c": 0.09351,
    "h": 113.1
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#666B24
secondary
#524D9E
accent
#4FD958
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #666B24

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

Preview Lab → · Contrast checker → · Palette generator →

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