#665312#665312

#665312 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.9% C 0.084 H 91.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#665312
RGBrgb(102, 83, 18)
HSLhsl(46, 70%, 24%)
HSVhsv(46, 82%, 40%)
CMYKcmyk(0%, 18.6%, 82.4%, 60%)
CIE-LABlab(36.09, 0.65, 38.28)
CIE-LCHlch(36.09, 38.28, 89.02°)
OKLaboklab(44.94% -0.0023 0.0835)
OKLCHoklch(44.94% 0.084 91.6)
XYZxyz(8.6824, 9.0555, 1.8627)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665312 #122566
analogous
#662912 #665312 #4F6612
triadic
#665312 #126653 #531266
tetradic
#665312 #126629 #122566 #66124F
square
#665312 #126629 #122566 #66124F
split-complementary
#665312 #124F66 #291266
monochromatic
#1A1505 #322909 #665312 #9A7D1B #CEA824

Accessibility & contrast

On white

7.47
#665312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#665312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #665312
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665312#FFFFFF#000000##FFFFFF
##6653121.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5206
Deuteranopia (green-blind)
#625716
Tritanopia (blue-blind)
#6F4B47
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #665312;
/* rgb */ color: rgb(102, 83, 18);
/* oklch */ color: oklch(44.9% 0.084 91.6);
Tailwind
colors: {
  custom: {
    50: '#958356',
    500: '#665312',
    950: '#000000',
  },
}
SCSS
$custom: #665312;
$custom-light: #958356;
$custom-dark: #000000;
JSON
{
  "hex": "#665312",
  "rgb": {
    "r": 102,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 46.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44935,
    "c": 0.08351,
    "h": 91.6
  },
  "luminance": 0.09055
}

Semantic roles & 50–950 ramp

primary
#665312
secondary
#364D9E
accent
#63ED3B
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0E0A03
muted
#7E7C78

Preview Lab

Preview with #665312

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

Preview Lab → · Contrast checker → · Palette generator →

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