#665F17#665F17

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

Color values

HEX#665F17
RGBrgb(102, 95, 23)
HSLhsl(55, 63%, 25%)
HSVhsv(55, 77%, 40%)
CMYKcmyk(0%, 6.9%, 77.5%, 60%)
CIE-LABlab(39.70, -6.22, 39.69)
CIE-LCHlch(39.70, 40.17, 98.90°)
OKLaboklab(47.81% -0.0213 0.0876)
OKLCHoklch(47.81% 0.09 103.7)
XYZxyz(9.7268, 11.0715, 2.4351)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665F17 #171E66
analogous
#663817 #665F17 #456617
triadic
#665F17 #17665F #5F1766
tetradic
#665F17 #176638 #171E66 #661745
square
#665F17 #176638 #171E66 #661745
split-complementary
#665F17 #174566 #381766
monochromatic
#191706 #34300C #665F17 #988E22 #CABC2E

Accessibility & contrast

On white

6.53
#665F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665F17
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665F17#FFFFFF#000000##FFFFFF
##665F171.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0A
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#6E5851
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #665f17;
/* rgb */ color: rgb(102, 95, 23);
/* oklch */ color: oklch(47.8% 0.090 103.7);
Tailwind
colors: {
  custom: {
    50: '#948c5a',
    500: '#665f17',
    950: '#000000',
  },
}
SCSS
$custom: #665f17;
$custom-light: #948c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#665f17",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 54.684,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.09013,
    "h": 103.7
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#665F17
secondary
#3C459C
accent
#50E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #665F17

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

Preview Lab → · Contrast checker → · Palette generator →

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