#66640F#66640F

#66640F is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 49.0% C 0.100 H 108.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#66640F
RGBrgb(102, 100, 15)
HSLhsl(59, 74%, 23%)
HSVhsv(59, 85%, 40%)
CMYKcmyk(0%, 2%, 85.3%, 60%)
CIE-LABlab(41.17, -9.43, 43.86)
CIE-LCHlch(41.17, 44.86, 102.14°)
OKLaboklab(48.97% -0.031 0.0948)
OKLCHoklch(48.97% 0.1 108.1)
XYZxyz(10.1233, 11.9740, 2.2298)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66640F #0F1166
analogous
#66390F #66640F #3C660F
triadic
#66640F #0F6664 #640F66
tetradic
#66640F #0F6639 #0F1166 #660F3C
square
#66640F #0F6639 #0F1166 #660F3C
split-complementary
#66640F #0F3C66 #390F66
monochromatic
#1B1A04 #313007 #66640F #9B9817 #D1CD1F

Accessibility & contrast

On white

6.19
#66640F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#66640F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #66640F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66640F#FFFFFF#000000##FFFFFF
##66640F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#6E6217
Tritanopia (blue-blind)
#6E5D55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #66640f;
/* rgb */ color: rgb(102, 100, 15);
/* oklch */ color: oklch(49.0% 0.100 108.1);
Tailwind
colors: {
  custom: {
    50: '#958f57',
    500: '#66640f',
    950: '#000000',
  },
}
SCSS
$custom: #66640f;
$custom-light: #958f57;
$custom-dark: #000000;
JSON
{
  "hex": "#66640f",
  "rgb": {
    "r": 102,
    "g": 100,
    "b": 15
  },
  "hsl": {
    "h": 58.621,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48966,
    "c": 0.09977,
    "h": 108.1
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#66640F
secondary
#32359F
accent
#3BF137
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C03
muted
#7E7D78

Preview Lab

Preview with #66640F

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

Preview Lab → · Contrast checker → · Palette generator →

#66640F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva