#666338#666338

#666338 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 49.2% C 0.062 H 105.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#666338
RGBrgb(102, 99, 56)
HSLhsl(56, 29%, 31%)
HSVhsv(56, 45%, 40%)
CMYKcmyk(0%, 2.9%, 45.1%, 60%)
CIE-LABlab(41.27, -5.77, 24.80)
CIE-LCHlch(41.27, 25.46, 103.09°)
OKLaboklab(49.17% -0.016 0.06)
OKLCHoklch(49.17% 0.062 105)
XYZxyz(10.6553, 12.0343, 5.5022)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666338 #383B66
analogous
#664C38 #666338 #526638
triadic
#666338 #386663 #633866
tetradic
#666338 #38664C #383B66 #663852
square
#666338 #38664C #383B66 #663852
split-complementary
#666338 #385266 #4C3866
monochromatic
#17160D #3E3D22 #666338 #8E894E #AEA96B

Accessibility & contrast

On white

6.16
#666338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#666338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666338
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666338#FFFFFF#000000##FFFFFF
##6663381.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6035
Deuteranopia (green-blind)
#6B623A
Tritanopia (blue-blind)
#6C5E59
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #666338;
/* rgb */ color: rgb(102, 99, 56);
/* oklch */ color: oklch(49.2% 0.062 105.0);
Tailwind
colors: {
  custom: {
    50: '#938f6f',
    500: '#666338',
    950: '#000000',
  },
}
SCSS
$custom: #666338;
$custom-light: #938f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#666338",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 56
  },
  "hsl": {
    "h": 56.087,
    "s": 29.114,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4917,
    "c": 0.06213,
    "h": 105
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#666338
secondary
#636796
accent
#69C562
background
#F9F8F6
surface
#F1F0EC
border
#CBCBC7
text
#0D0C07
muted
#7E7D7A

Preview Lab

Preview with #666338

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

Preview Lab → · Contrast checker → · Palette generator →

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