#665F12#665F12

#665F12 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.8% C 0.093 H 103.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#665F12
RGBrgb(102, 95, 18)
HSLhsl(55, 70%, 24%)
HSVhsv(55, 82%, 40%)
CMYKcmyk(0%, 6.9%, 82.4%, 60%)
CIE-LABlab(39.67, -6.45, 41.55)
CIE-LCHlch(39.67, 42.04, 98.82°)
OKLaboklab(47.77% -0.0224 0.0905)
OKLCHoklch(47.77% 0.093 103.9)
XYZxyz(9.6813, 11.0533, 2.1957)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665F12 #121966
analogous
#663512 #665F12 #436612
triadic
#665F12 #12665F #5F1266
tetradic
#665F12 #126635 #121966 #661243
square
#665F12 #126635 #121966 #661243
split-complementary
#665F12 #124366 #351266
monochromatic
#1A1805 #322F09 #665F12 #9A8F1B #CEC024

Accessibility & contrast

On white

6.54
#665F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#665F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665F12
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665F12#FFFFFF#000000##FFFFFF
##665F121.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#6B5F18
Tritanopia (blue-blind)
#6E5851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #665f12;
/* rgb */ color: rgb(102, 95, 18);
/* oklch */ color: oklch(47.8% 0.093 103.9);
Tailwind
colors: {
  custom: {
    50: '#958c57',
    500: '#665f12',
    950: '#000000',
  },
}
SCSS
$custom: #665f12;
$custom-light: #958c57;
$custom-dark: #000000;
JSON
{
  "hex": "#665f12",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 55,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.09321,
    "h": 103.9
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#665F12
secondary
#363F9E
accent
#4AED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C03
muted
#7E7D78

Preview Lab

Preview with #665F12

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

Preview Lab → · Contrast checker → · Palette generator →

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