#666334#666334

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

Color values

HEX#666334
RGBrgb(102, 99, 52)
HSLhsl(56, 32%, 30%)
HSVhsv(56, 49%, 40%)
CMYKcmyk(0%, 2.9%, 49%, 60%)
CIE-LABlab(41.21, -6.22, 26.98)
CIE-LCHlch(41.21, 27.69, 102.98°)
OKLaboklab(49.1% -0.0178 0.0646)
OKLCHoklch(49.1% 0.067 105.4)
XYZxyz(10.5614, 11.9967, 5.0074)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666334 #343766
analogous
#664A34 #666334 #506634
triadic
#666334 #346663 #633466
tetradic
#666334 #34664A #343766 #663450
square
#666334 #34664A #343766 #663450
split-complementary
#666334 #345066 #4A3466
monochromatic
#15140B #3D3C1F #666334 #8F8A49 #B0AC64

Accessibility & contrast

On white

6.18
#666334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666334
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666334#FFFFFF#000000##FFFFFF
##6663341.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666334;
/* rgb */ color: rgb(102, 99, 52);
/* oklch */ color: oklch(49.1% 0.067 105.4);
Tailwind
colors: {
  custom: {
    50: '#938f6c',
    500: '#666334',
    950: '#000000',
  },
}
SCSS
$custom: #666334;
$custom-light: #938f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#666334",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 52
  },
  "hsl": {
    "h": 56.4,
    "s": 32.468,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.067,
    "h": 105.4
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#666334
secondary
#5F6297
accent
#66C95F
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0C07
muted
#7E7D7A

Preview Lab

Preview with #666334

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

Preview Lab → · Contrast checker → · Palette generator →

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