#665C17#665C17

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

Color values

HEX#665C17
RGBrgb(102, 92, 23)
HSLhsl(52, 63%, 25%)
HSVhsv(52, 77%, 40%)
CMYKcmyk(0%, 9.8%, 77.5%, 60%)
CIE-LABlab(38.80, -4.47, 38.82)
CIE-LCHlch(38.80, 39.08, 96.56°)
OKLaboklab(47.09% -0.0163 0.0857)
OKLCHoklch(47.09% 0.087 100.8)
XYZxyz(9.4617, 10.5414, 2.3467)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665C17 #172166
analogous
#663517 #665C17 #496617
triadic
#665C17 #17665C #5C1766
tetradic
#665C17 #176635 #172166 #661749
square
#665C17 #176635 #172166 #661749
split-complementary
#665C17 #174966 #351766
monochromatic
#191706 #342F0C #665C17 #988922 #CAB62E

Accessibility & contrast

On white

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

On black

3.11
#665C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##665C17#FFFFFF#000000##FFFFFF
##665C171.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590B
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#6E554F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665c17;
/* rgb */ color: rgb(102, 92, 23);
/* oklch */ color: oklch(47.1% 0.087 100.8);
Tailwind
colors: {
  custom: {
    50: '#95895a',
    500: '#665c17',
    950: '#000000',
  },
}
SCSS
$custom: #665c17;
$custom-light: #95895a;
$custom-dark: #000000;
JSON
{
  "hex": "#665c17",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 52.405,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47087,
    "c": 0.08728,
    "h": 100.8
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#665C17
secondary
#3C499C
accent
#56E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665C17

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

Preview Lab → · Contrast checker → · Palette generator →

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