#666123#666123

#666123 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.4% C 0.083 H 104.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#666123
RGBrgb(102, 97, 35)
HSLhsl(56, 49%, 27%)
HSVhsv(56, 66%, 40%)
CMYKcmyk(0%, 4.9%, 65.7%, 60%)
CIE-LABlab(40.40, -6.62, 35.02)
CIE-LCHlch(40.40, 35.64, 100.70°)
OKLaboklab(48.4% -0.021 0.0799)
OKLCHoklch(48.4% 0.083 104.7)
XYZxyz(10.0579, 11.4959, 3.2789)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666123 #232866
analogous
#664023 #666123 #4A6623
triadic
#666123 #236661 #612366
tetradic
#666123 #236640 #232866 #66234A
square
#666123 #236640 #232866 #66234A
split-complementary
#666123 #234A66 #402366
monochromatic
#171608 #383613 #666123 #948C33 #BFB644

Accessibility & contrast

On white

6.37
#666123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#666123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666123
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666123#FFFFFF#000000##FFFFFF
##6661231.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E1C
Deuteranopia (green-blind)
#6B6127
Tritanopia (blue-blind)
#6E5A54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #666123;
/* rgb */ color: rgb(102, 97, 35);
/* oklch */ color: oklch(48.4% 0.083 104.7);
Tailwind
colors: {
  custom: {
    50: '#948d61',
    500: '#666123',
    950: '#000000',
  },
}
SCSS
$custom: #666123;
$custom-light: #948d61;
$custom-dark: #000000;
JSON
{
  "hex": "#666123",
  "rgb": {
    "r": 102,
    "g": 97,
    "b": 35
  },
  "hsl": {
    "h": 55.522,
    "s": 48.905,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48396,
    "c": 0.08265,
    "h": 104.7
  },
  "luminance": 0.11496
}

Semantic roles & 50–950 ramp

primary
#666123
secondary
#4B519A
accent
#5AD84F
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #666123

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

Preview Lab → · Contrast checker → · Palette generator →

#666123 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva