#666B23#666B23

#666B23 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#666B23
RGBrgb(102, 107, 35)
HSLhsl(64, 51%, 28%)
HSVhsv(64, 67%, 42%)
CMYKcmyk(4.7%, 0%, 67.3%, 58%)
CIE-LABlab(43.45, -12.29, 38.27)
CIE-LCHlch(43.45, 40.20, 107.80°)
OKLaboklab(50.83% -0.037 0.0868)
OKLCHoklch(50.83% 0.094 113.1)
XYZxyz(11.0409, 13.4617, 3.6065)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B23 #28236B
analogous
#6B4C23 #666B23 #426B23
triadic
#666B23 #23666B #6B2366
tetradic
#666B23 #236B4C #28236B #6B2342
square
#666B23 #236B4C #28236B #6B2342
split-complementary
#666B23 #23426B #4C236B
monochromatic
#161708 #3A3D14 #666B23 #929932 #BAC246

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666B23#FFFFFF#000000##FFFFFF
##666B231.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)
#73661A
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#6D655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666b23;
/* rgb */ color: rgb(102, 107, 35);
/* oklch */ color: oklch(50.8% 0.094 113.1);
Tailwind
colors: {
  custom: {
    50: '#949562',
    500: '#666b23',
    950: '#000000',
  },
}
SCSS
$custom: #666b23;
$custom-light: #949562;
$custom-dark: #000000;
JSON
{
  "hex": "#666b23",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 35
  },
  "hsl": {
    "h": 64.167,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.09437,
    "h": 113.1
  },
  "luminance": 0.13462
}

Semantic roles & 50–950 ramp

primary
#666B23
secondary
#514B9E
accent
#4EDA57
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666B23

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

Preview Lab → · Contrast checker → · Palette generator →

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