#666813#666813

#666813 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.0% C 0.102 H 111.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#666813
RGBrgb(102, 104, 19)
HSLhsl(61, 69%, 24%)
HSVhsv(61, 82%, 41%)
CMYKcmyk(1.9%, 0%, 81.7%, 59.2%)
CIE-LABlab(42.42, -11.53, 43.68)
CIE-LCHlch(42.42, 45.18, 104.78°)
OKLaboklab(49.97% -0.0365 0.0953)
OKLCHoklch(49.97% 0.102 111)
XYZxyz(10.5477, 12.7727, 2.5257)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666813 #151368
analogous
#684013 #666813 #3C6813
triadic
#666813 #136668 #681366
tetradic
#666813 #136840 #151368 #68133C
square
#666813 #136840 #151368 #68133C
split-complementary
#666813 #133C68 #401368
monochromatic
#191A05 #33340A #666813 #999C1C #CCCF26

Accessibility & contrast

On white

5.91
#666813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#666813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666813
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666813#FFFFFF#000000##FFFFFF
##6668131.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#6E6158
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #666813;
/* rgb */ color: rgb(102, 104, 19);
/* oklch */ color: oklch(50.0% 0.102 111.0);
Tailwind
colors: {
  custom: {
    50: '#959259',
    500: '#666813',
    950: '#000000',
  },
}
SCSS
$custom: #666813;
$custom-light: #959259;
$custom-dark: #000000;
JSON
{
  "hex": "#666813",
  "rgb": {
    "r": 102,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 61.412,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.10201,
    "h": 111
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#666813
secondary
#3A379F
accent
#3CEC40
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #666813

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

Preview Lab → · Contrast checker → · Palette generator →

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