#665B17#665B17

#665B17 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.8% C 0.086 H 99.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#665B17
RGBrgb(102, 91, 23)
HSLhsl(52, 63%, 25%)
HSVhsv(52, 77%, 40%)
CMYKcmyk(0%, 10.8%, 77.5%, 60%)
CIE-LABlab(38.50, -3.88, 38.53)
CIE-LCHlch(38.50, 38.72, 95.75°)
OKLaboklab(46.85% -0.0147 0.0851)
OKLCHoklch(46.85% 0.086 99.8)
XYZxyz(9.3757, 10.3693, 2.3181)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B17 #172266
analogous
#663417 #665B17 #4A6617
triadic
#665B17 #17665B #5B1766
tetradic
#665B17 #176634 #172266 #66174A
square
#665B17 #176634 #172266 #66174A
split-complementary
#665B17 #174A66 #341766
monochromatic
#191606 #342E0C #665B17 #988822 #CAB42E

Accessibility & contrast

On white

6.83
#665B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#665B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665B17
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665B17#FFFFFF#000000##FFFFFF
##665B171.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580B
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#6E544E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665b17;
/* rgb */ color: rgb(102, 91, 23);
/* oklch */ color: oklch(46.8% 0.086 99.8);
Tailwind
colors: {
  custom: {
    50: '#958959',
    500: '#665b17',
    950: '#000000',
  },
}
SCSS
$custom: #665b17;
$custom-light: #958959;
$custom-dark: #000000;
JSON
{
  "hex": "#665b17",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 51.646,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46849,
    "c": 0.08638,
    "h": 99.8
  },
  "luminance": 0.10369
}

Semantic roles & 50–950 ramp

primary
#665B17
secondary
#3C4A9C
accent
#58E642
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665B17

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

Preview Lab → · Contrast checker → · Palette generator →

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