#666F24#666F24

#666F24 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.8% C 0.099 H 115.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#666F24
RGBrgb(102, 111, 36)
HSLhsl(67, 51%, 29%)
HSVhsv(67, 68%, 44%)
CMYKcmyk(8.1%, 0%, 67.6%, 56.5%)
CIE-LABlab(44.69, -14.42, 39.12)
CIE-LCHlch(44.69, 41.69, 110.24°)
OKLaboklab(51.82% -0.0428 0.0888)
OKLCHoklch(51.82% 0.099 115.8)
XYZxyz(11.4826, 14.3212, 3.8281)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F24 #2D246F
analogous
#6F5324 #666F24 #416F24
triadic
#666F24 #24666F #6F2466
tetradic
#666F24 #246F53 #2D246F #6F2441
square
#666F24 #246F53 #2D246F #6F2441
split-complementary
#666F24 #24416F #53246F
monochromatic
#151707 #3C4115 #666F24 #909D33 #B5C449

Accessibility & contrast

On white

5.43
#666F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#666F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F24
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F24#FFFFFF#000000##FFFFFF
##666F241.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691A
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#6D6960
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f24;
/* rgb */ color: rgb(102, 111, 36);
/* oklch */ color: oklch(51.8% 0.099 115.8);
Tailwind
colors: {
  custom: {
    50: '#949863',
    500: '#666f24',
    950: '#000000',
  },
}
SCSS
$custom: #666f24;
$custom-light: #949863;
$custom-dark: #000000;
JSON
{
  "hex": "#666f24",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 36
  },
  "hsl": {
    "h": 67.2,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51823,
    "c": 0.09857,
    "h": 115.8
  },
  "luminance": 0.14321
}

Semantic roles & 50–950 ramp

primary
#666F24
secondary
#574DA2
accent
#4DDA5E
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #666F24

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

Preview Lab → · Contrast checker → · Palette generator →

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