#666F23#666F23

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

Color values

HEX#666F23
RGBrgb(102, 111, 35)
HSLhsl(67, 52%, 29%)
HSVhsv(67, 68%, 44%)
CMYKcmyk(8.1%, 0%, 68.5%, 56.5%)
CIE-LABlab(44.68, -14.49, 39.56)
CIE-LCHlch(44.68, 42.13, 110.12°)
OKLaboklab(51.81% -0.0432 0.0895)
OKLCHoklch(51.81% 0.099 115.7)
XYZxyz(11.4676, 14.3152, 3.7488)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F23 #2C236F
analogous
#6F5223 #666F23 #406F23
triadic
#666F23 #23666F #6F2366
tetradic
#666F23 #236F52 #2C236F #6F2340
square
#666F23 #236F52 #2C236F #6F2340
split-complementary
#666F23 #23406F #52236F
monochromatic
#151707 #3B4014 #666F23 #919E32 #B6C547

Accessibility & contrast

On white

5.44
#666F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666F23
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F23#FFFFFF#000000##FFFFFF
##666F231.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776919
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#6D695F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f23;
/* rgb */ color: rgb(102, 111, 35);
/* oklch */ color: oklch(51.8% 0.099 115.7);
Tailwind
colors: {
  custom: {
    50: '#949862',
    500: '#666f23',
    950: '#000000',
  },
}
SCSS
$custom: #666f23;
$custom-light: #949862;
$custom-dark: #000000;
JSON
{
  "hex": "#666f23",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 67.105,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51813,
    "c": 0.09939,
    "h": 115.7
  },
  "luminance": 0.14315
}

Semantic roles & 50–950 ramp

primary
#666F23
secondary
#564CA2
accent
#4CDB5D
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #666F23

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

Preview Lab → · Contrast checker → · Palette generator →

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