#665B12#665B12

#665B12 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.8% C 0.090 H 100.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#665B12
RGBrgb(102, 91, 18)
HSLhsl(52, 70%, 24%)
HSVhsv(52, 82%, 40%)
CMYKcmyk(0%, 10.8%, 82.4%, 60%)
CIE-LABlab(38.47, -4.11, 40.45)
CIE-LCHlch(38.47, 40.66, 95.81°)
OKLaboklab(46.81% -0.0159 0.0881)
OKLCHoklch(46.81% 0.09 100.2)
XYZxyz(9.3302, 10.3511, 2.0787)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B12 #121D66
analogous
#663112 #665B12 #476612
triadic
#665B12 #12665B #5B1266
tetradic
#665B12 #126631 #121D66 #661247
square
#665B12 #126631 #121D66 #661247
split-complementary
#665B12 #124766 #311266
monochromatic
#1A1705 #322D09 #665B12 #9A891B #CEB824

Accessibility & contrast

On white

6.84
#665B12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#665B12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665B12
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665B12#FFFFFF#000000##FFFFFF
##665B121.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655803
Deuteranopia (green-blind)
#685C17
Tritanopia (blue-blind)
#6F544D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665b12;
/* rgb */ color: rgb(102, 91, 18);
/* oklch */ color: oklch(46.8% 0.090 100.2);
Tailwind
colors: {
  custom: {
    50: '#958957',
    500: '#665b12',
    950: '#000000',
  },
}
SCSS
$custom: #665b12;
$custom-light: #958957;
$custom-dark: #000000;
JSON
{
  "hex": "#665b12",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 18
  },
  "hsl": {
    "h": 52.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46814,
    "c": 0.08956,
    "h": 100.2
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#665B12
secondary
#36449E
accent
#52ED3B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #665B12

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

Preview Lab → · Contrast checker → · Palette generator →

#665B12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva