#665D12#665D12

#665D12 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.3% C 0.091 H 102.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#665D12
RGBrgb(102, 93, 18)
HSLhsl(54, 70%, 24%)
HSVhsv(54, 82%, 40%)
CMYKcmyk(0%, 8.8%, 82.4%, 60%)
CIE-LABlab(39.07, -5.29, 41.00)
CIE-LCHlch(39.07, 41.34, 97.35°)
OKLaboklab(47.29% -0.0192 0.0893)
OKLCHoklch(47.29% 0.091 102.1)
XYZxyz(9.5035, 10.6976, 2.1364)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665D12 #121B66
analogous
#663312 #665D12 #456612
triadic
#665D12 #12665D #5D1266
tetradic
#665D12 #126633 #121B66 #661245
square
#665D12 #126633 #121B66 #661245
split-complementary
#665D12 #124566 #331266
monochromatic
#1A1805 #322E09 #665D12 #9A8C1B #CEBC24

Accessibility & contrast

On white

6.69
#665D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#665D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665D12
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665D12#FFFFFF#000000##FFFFFF
##665D121.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A02
Deuteranopia (green-blind)
#695E18
Tritanopia (blue-blind)
#6E564F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665d12;
/* rgb */ color: rgb(102, 93, 18);
/* oklch */ color: oklch(47.3% 0.091 102.1);
Tailwind
colors: {
  custom: {
    50: '#958a57',
    500: '#665d12',
    950: '#000000',
  },
}
SCSS
$custom: #665d12;
$custom-light: #958a57;
$custom-dark: #000000;
JSON
{
  "hex": "#665d12",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 53.571,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47291,
    "c": 0.09135,
    "h": 102.1
  },
  "luminance": 0.10697
}

Semantic roles & 50–950 ramp

primary
#665D12
secondary
#36419E
accent
#4EED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #665D12

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

Preview Lab → · Contrast checker → · Palette generator →

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