#666229#666229

#666229 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.7% C 0.078 H 105.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#666229
RGBrgb(102, 98, 41)
HSLhsl(56, 43%, 28%)
HSVhsv(56, 60%, 40%)
CMYKcmyk(0%, 3.9%, 59.8%, 60%)
CIE-LABlab(40.77, -6.72, 32.40)
CIE-LCHlch(40.77, 33.09, 101.71°)
OKLaboklab(48.71% -0.0205 0.0752)
OKLCHoklch(48.71% 0.078 105.2)
XYZxyz(10.2477, 11.7206, 3.8199)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666229 #292D66
analogous
#664329 #666229 #4B6629
triadic
#666229 #296662 #622966
tetradic
#666229 #296643 #292D66 #66294B
square
#666229 #296643 #292D66 #66294B
split-complementary
#666229 #294B66 #432966
monochromatic
#161509 #3A3817 #666229 #928C3B #B9B251

Accessibility & contrast

On white

6.28
#666229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#666229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666229
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666229#FFFFFF#000000##FFFFFF
##6662291.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F23
Deuteranopia (green-blind)
#6C612C
Tritanopia (blue-blind)
#6D5C55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #666229;
/* rgb */ color: rgb(102, 98, 41);
/* oklch */ color: oklch(48.7% 0.078 105.2);
Tailwind
colors: {
  custom: {
    50: '#938e65',
    500: '#666229',
    950: '#000000',
  },
}
SCSS
$custom: #666229;
$custom-light: #938e65;
$custom-dark: #000000;
JSON
{
  "hex": "#666229",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 41
  },
  "hsl": {
    "h": 56.066,
    "s": 42.657,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48706,
    "c": 0.07798,
    "h": 105.2
  },
  "luminance": 0.1172
}

Semantic roles & 50–950 ramp

primary
#666229
secondary
#525798
accent
#5ED255
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0D0C06
muted
#7E7D7A

Preview Lab

Preview with #666229

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

Preview Lab → · Contrast checker → · Palette generator →

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