#666D23#666D23

#666D23 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.097 H 114.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#666D23
RGBrgb(102, 109, 35)
HSLhsl(66, 51%, 28%)
HSVhsv(66, 68%, 43%)
CMYKcmyk(6.4%, 0%, 67.9%, 57.3%)
CIE-LABlab(44.07, -13.40, 38.92)
CIE-LCHlch(44.07, 41.16, 108.99°)
OKLaboklab(51.32% -0.0401 0.0882)
OKLCHoklch(51.32% 0.097 114.4)
XYZxyz(11.2518, 13.8836, 3.6769)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D23 #2A236D
analogous
#6D4F23 #666D23 #416D23
triadic
#666D23 #23666D #6D2366
tetradic
#666D23 #236D4F #2A236D #6D2341
square
#666D23 #236D4F #2A236D #6D2341
split-complementary
#666D23 #23416D #4F236D
monochromatic
#161707 #3B3F14 #666D23 #919B32 #B8C447

Accessibility & contrast

On white

5.56
#666D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#666D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D23
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D23#FFFFFF#000000##FFFFFF
##666D231.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756819
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#6D675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d23;
/* rgb */ color: rgb(102, 109, 35);
/* oklch */ color: oklch(51.3% 0.097 114.4);
Tailwind
colors: {
  custom: {
    50: '#949662',
    500: '#666d23',
    950: '#000000',
  },
}
SCSS
$custom: #666d23;
$custom-light: #949662;
$custom-dark: #000000;
JSON
{
  "hex": "#666d23",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 35
  },
  "hsl": {
    "h": 65.676,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51319,
    "c": 0.09687,
    "h": 114.4
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#666D23
secondary
#544BA0
accent
#4DDB5A
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #666D23

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

Preview Lab → · Contrast checker → · Palette generator →

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