#665A12#665A12

#665A12 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.6% C 0.089 H 99.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#665A12
RGBrgb(102, 90, 18)
HSLhsl(51, 70%, 24%)
HSVhsv(51, 82%, 40%)
CMYKcmyk(0%, 11.8%, 82.4%, 60%)
CIE-LABlab(38.17, -3.52, 40.18)
CIE-LCHlch(38.17, 40.33, 95.01°)
OKLaboklab(46.58% -0.0142 0.0876)
OKLCHoklch(46.58% 0.089 99.2)
XYZxyz(9.2453, 10.1812, 2.0503)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665A12 #121E66
analogous
#663012 #665A12 #486612
triadic
#665A12 #12665A #5A1266
tetradic
#665A12 #126630 #121E66 #661248
square
#665A12 #126630 #121E66 #661248
split-complementary
#665A12 #124866 #301266
monochromatic
#1A1705 #322C09 #665A12 #9A881B #CEB624

Accessibility & contrast

On white

6.92
#665A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#665A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665A12
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665A12#FFFFFF#000000##FFFFFF
##665A121.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645703
Deuteranopia (green-blind)
#675C17
Tritanopia (blue-blind)
#6F534C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665a12;
/* rgb */ color: rgb(102, 90, 18);
/* oklch */ color: oklch(46.6% 0.089 99.2);
Tailwind
colors: {
  custom: {
    50: '#958857',
    500: '#665a12',
    950: '#000000',
  },
}
SCSS
$custom: #665a12;
$custom-light: #958857;
$custom-dark: #000000;
JSON
{
  "hex": "#665a12",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 51.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46576,
    "c": 0.0887,
    "h": 99.2
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#665A12
secondary
#36459E
accent
#54ED3B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #665A12

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

Preview Lab → · Contrast checker → · Palette generator →

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