#665A17#665A17

#665A17 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.6% C 0.086 H 98.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#665A17
RGBrgb(102, 90, 23)
HSLhsl(51, 63%, 25%)
HSVhsv(51, 77%, 40%)
CMYKcmyk(0%, 11.8%, 77.5%, 60%)
CIE-LABlab(38.20, -3.29, 38.24)
CIE-LCHlch(38.20, 38.38, 94.91°)
OKLaboklab(46.61% -0.013 0.0845)
OKLCHoklch(46.61% 0.086 98.7)
XYZxyz(9.2908, 10.1994, 2.2898)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665A17 #172366
analogous
#663317 #665A17 #4B6617
triadic
#665A17 #17665A #5A1766
tetradic
#665A17 #176633 #172366 #66174B
square
#665A17 #176633 #172366 #66174B
split-complementary
#665A17 #174B66 #331766
monochromatic
#191606 #342E0C #665A17 #988622 #CAB22E

Accessibility & contrast

On white

6.91
#665A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#665A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665A17
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665A17#FFFFFF#000000##FFFFFF
##665A171.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63580C
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#6F534D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665a17;
/* rgb */ color: rgb(102, 90, 23);
/* oklch */ color: oklch(46.6% 0.086 98.7);
Tailwind
colors: {
  custom: {
    50: '#958859',
    500: '#665a17',
    950: '#000000',
  },
}
SCSS
$custom: #665a17;
$custom-light: #958859;
$custom-dark: #000000;
JSON
{
  "hex": "#665a17",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 50.886,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46612,
    "c": 0.0855,
    "h": 98.7
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#665A17
secondary
#3C4B9C
accent
#5BE642
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665A17

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

Preview Lab → · Contrast checker → · Palette generator →

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