#666336#666336

#666336 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 49.1% C 0.065 H 105.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#666336
RGBrgb(102, 99, 54)
HSLhsl(56, 31%, 31%)
HSVhsv(56, 47%, 40%)
CMYKcmyk(0%, 2.9%, 47.1%, 60%)
CIE-LABlab(41.24, -6.00, 25.90)
CIE-LCHlch(41.24, 26.58, 103.04°)
OKLaboklab(49.14% -0.0169 0.0623)
OKLCHoklch(49.14% 0.065 105.2)
XYZxyz(10.6074, 12.0151, 5.2497)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666336 #363966
analogous
#664B36 #666336 #516636
triadic
#666336 #366663 #633666
tetradic
#666336 #36664B #363966 #663651
square
#666336 #36664B #363966 #663651
split-complementary
#666336 #365166 #4B3666
monochromatic
#16150C #3E3C21 #666336 #8E8A4B #AFAA68

Accessibility & contrast

On white

6.17
#666336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#666336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666336
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666336#FFFFFF#000000##FFFFFF
##6663361.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6032
Deuteranopia (green-blind)
#6B6238
Tritanopia (blue-blind)
#6C5E58
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #666336;
/* rgb */ color: rgb(102, 99, 54);
/* oklch */ color: oklch(49.1% 0.065 105.2);
Tailwind
colors: {
  custom: {
    50: '#938f6e',
    500: '#666336',
    950: '#000000',
  },
}
SCSS
$custom: #666336;
$custom-light: #938f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#666336",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 54
  },
  "hsl": {
    "h": 56.25,
    "s": 30.769,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49136,
    "c": 0.06459,
    "h": 105.2
  },
  "luminance": 0.12015
}

Semantic roles & 50–950 ramp

primary
#666336
secondary
#616597
accent
#67C761
background
#F9F8F6
surface
#F1F0EC
border
#CBCBC7
text
#0D0C07
muted
#7E7D7A

Preview Lab

Preview with #666336

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

Preview Lab → · Contrast checker → · Palette generator →

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