#665C12#665C12

#665C12 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 47.1% C 0.090 H 101.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#665C12
RGBrgb(102, 92, 18)
HSLhsl(53, 70%, 24%)
HSVhsv(53, 82%, 40%)
CMYKcmyk(0%, 9.8%, 82.4%, 60%)
CIE-LABlab(38.77, -4.70, 40.73)
CIE-LCHlch(38.77, 41.00, 96.58°)
OKLaboklab(47.05% -0.0175 0.0887)
OKLCHoklch(47.05% 0.09 101.2)
XYZxyz(9.4163, 10.5232, 2.1073)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665C12 #121C66
analogous
#663212 #665C12 #466612
triadic
#665C12 #12665C #5C1266
tetradic
#665C12 #126632 #121C66 #661246
square
#665C12 #126632 #121C66 #661246
split-complementary
#665C12 #124666 #321266
monochromatic
#1A1705 #322D09 #665C12 #9A8B1B #CEBA24

Accessibility & contrast

On white

6.76
#665C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#665C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665C12
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665C12#FFFFFF#000000##FFFFFF
##665C121.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665902
Deuteranopia (green-blind)
#685D18
Tritanopia (blue-blind)
#6F554E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665c12;
/* rgb */ color: rgb(102, 92, 18);
/* oklch */ color: oklch(47.1% 0.090 101.2);
Tailwind
colors: {
  custom: {
    50: '#958957',
    500: '#665c12',
    950: '#000000',
  },
}
SCSS
$custom: #665c12;
$custom-light: #958957;
$custom-dark: #000000;
JSON
{
  "hex": "#665c12",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 52.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47052,
    "c": 0.09044,
    "h": 101.2
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

primary
#665C12
secondary
#36429E
accent
#50ED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #665C12

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

Preview Lab → · Contrast checker → · Palette generator →

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