#665512#665512

#665512 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.4% C 0.085 H 93.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#665512
RGBrgb(102, 85, 18)
HSLhsl(48, 70%, 24%)
HSVhsv(48, 82%, 40%)
CMYKcmyk(0%, 16.7%, 82.4%, 60%)
CIE-LABlab(36.68, -0.55, 38.82)
CIE-LCHlch(36.68, 38.82, 90.81°)
OKLaboklab(45.4% -0.0058 0.0846)
OKLCHoklch(45.4% 0.085 93.9)
XYZxyz(8.8377, 9.3660, 1.9145)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665512 #122366
analogous
#662B12 #665512 #4D6612
triadic
#665512 #126655 #551266
tetradic
#665512 #12662B #122366 #66124D
square
#665512 #12662B #122366 #66124D
split-complementary
#665512 #124D66 #2B1266
monochromatic
#1A1605 #322A09 #665512 #9A801B #CEAC24

Accessibility & contrast

On white

7.31
#665512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#665512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #665512
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665512#FFFFFF#000000##FFFFFF
##6655121.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5305
Deuteranopia (green-blind)
#635816
Tritanopia (blue-blind)
#6F4D48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #665512;
/* rgb */ color: rgb(102, 85, 18);
/* oklch */ color: oklch(45.4% 0.085 93.9);
Tailwind
colors: {
  custom: {
    50: '#958456',
    500: '#665512',
    950: '#000000',
  },
}
SCSS
$custom: #665512;
$custom-light: #958456;
$custom-dark: #000000;
JSON
{
  "hex": "#665512",
  "rgb": {
    "r": 102,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 47.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.454,
    "c": 0.08484,
    "h": 93.9
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#665512
secondary
#364B9E
accent
#5FED3B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0A03
muted
#7E7C78

Preview Lab

Preview with #665512

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

Preview Lab → · Contrast checker → · Palette generator →

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