#665212#665212

#665212 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.7% C 0.083 H 90.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#665212
RGBrgb(102, 82, 18)
HSLhsl(46, 70%, 24%)
HSVhsv(46, 82%, 40%)
CMYKcmyk(0%, 19.6%, 82.4%, 60%)
CIE-LABlab(35.80, 1.26, 38.01)
CIE-LCHlch(35.80, 38.03, 88.10°)
OKLaboklab(44.7% -0.0006 0.0829)
OKLCHoklch(44.7% 0.083 90.4)
XYZxyz(8.6065, 8.9036, 1.8374)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665212 #122666
analogous
#662812 #665212 #506612
triadic
#665212 #126652 #521266
tetradic
#665212 #126628 #122666 #661250
square
#665212 #126628 #122666 #661250
split-complementary
#665212 #125066 #281266
monochromatic
#1A1505 #322809 #665212 #9A7C1B #CEA624

Accessibility & contrast

On white

7.55
#665212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#665212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #665212
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665212#FFFFFF#000000##FFFFFF
##6652121.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#615716
Tritanopia (blue-blind)
#6F4A46
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #665212;
/* rgb */ color: rgb(102, 82, 18);
/* oklch */ color: oklch(44.7% 0.083 90.4);
Tailwind
colors: {
  custom: {
    50: '#958256',
    500: '#665212',
    950: '#000000',
  },
}
SCSS
$custom: #665212;
$custom-light: #958256;
$custom-dark: #000000;
JSON
{
  "hex": "#665212",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 45.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44704,
    "c": 0.0829,
    "h": 90.4
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#665212
secondary
#364F9E
accent
#65ED3B
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0E0A03
muted
#7E7C78

Preview Lab

Preview with #665212

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

Preview Lab → · Contrast checker → · Palette generator →

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