#665E17#665E17

#665E17 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.6% C 0.089 H 102.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#665E17
RGBrgb(102, 94, 23)
HSLhsl(54, 63%, 25%)
HSVhsv(54, 77%, 40%)
CMYKcmyk(0%, 7.8%, 77.5%, 60%)
CIE-LABlab(39.40, -5.63, 39.40)
CIE-LCHlch(39.40, 39.80, 98.14°)
OKLaboklab(47.57% -0.0196 0.087)
OKLCHoklch(47.57% 0.089 102.7)
XYZxyz(9.6373, 10.8925, 2.4053)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665E17 #171F66
analogous
#663717 #665E17 #476617
triadic
#665E17 #17665E #5E1766
tetradic
#665E17 #176637 #171F66 #661747
square
#665E17 #176637 #171F66 #661747
split-complementary
#665E17 #174766 #371766
monochromatic
#191706 #34300C #665E17 #988C22 #CABA2E

Accessibility & contrast

On white

6.61
#665E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#665E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665E17
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665E17#FFFFFF#000000##FFFFFF
##665E171.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0A
Deuteranopia (green-blind)
#6A5E1C
Tritanopia (blue-blind)
#6E5750
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #665e17;
/* rgb */ color: rgb(102, 94, 23);
/* oklch */ color: oklch(47.6% 0.089 102.7);
Tailwind
colors: {
  custom: {
    50: '#958b5a',
    500: '#665e17',
    950: '#000000',
  },
}
SCSS
$custom: #665e17;
$custom-light: #958b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#665e17",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 53.924,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.08916,
    "h": 102.7
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#665E17
secondary
#3C469C
accent
#52E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665E17

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

Preview Lab → · Contrast checker → · Palette generator →

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