#665712#665712

#665712 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.9% C 0.086 H 96.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#665712
RGBrgb(102, 87, 18)
HSLhsl(49, 70%, 24%)
HSVhsv(49, 82%, 40%)
CMYKcmyk(0%, 14.7%, 82.4%, 60%)
CIE-LABlab(37.27, -1.75, 39.36)
CIE-LCHlch(37.27, 39.40, 92.54°)
OKLaboklab(45.87% -0.0092 0.0858)
OKLCHoklch(45.87% 0.086 96.1)
XYZxyz(8.9973, 9.6853, 1.9677)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665712 #122166
analogous
#662D12 #665712 #4B6612
triadic
#665712 #126657 #571266
tetradic
#665712 #12662D #122166 #66124B
square
#665712 #12662D #122166 #66124B
split-complementary
#665712 #124B66 #2D1266
monochromatic
#1A1605 #322B09 #665712 #9A831B #CEB024

Accessibility & contrast

On white

7.15
#665712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#665712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #665712
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665712#FFFFFF#000000##FFFFFF
##6657121.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615504
Deuteranopia (green-blind)
#655A17
Tritanopia (blue-blind)
#6F4F4A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #665712;
/* rgb */ color: rgb(102, 87, 18);
/* oklch */ color: oklch(45.9% 0.086 96.1);
Tailwind
colors: {
  custom: {
    50: '#958656',
    500: '#665712',
    950: '#000000',
  },
}
SCSS
$custom: #665712;
$custom-light: #958656;
$custom-dark: #000000;
JSON
{
  "hex": "#665712",
  "rgb": {
    "r": 102,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 49.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45868,
    "c": 0.08629,
    "h": 96.1
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#665712
secondary
#36499E
accent
#5BED3B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #665712

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

Preview Lab → · Contrast checker → · Palette generator →

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