#665D17#665D17

#665D17 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.3% C 0.088 H 101.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#665D17
RGBrgb(102, 93, 23)
HSLhsl(53, 63%, 25%)
HSVhsv(53, 77%, 40%)
CMYKcmyk(0%, 8.8%, 77.5%, 60%)
CIE-LABlab(39.10, -5.05, 39.11)
CIE-LCHlch(39.10, 39.43, 97.36°)
OKLaboklab(47.33% -0.018 0.0864)
OKLCHoklch(47.33% 0.088 101.8)
XYZxyz(9.5489, 10.7158, 2.3758)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665D17 #172066
analogous
#663617 #665D17 #476617
triadic
#665D17 #17665D #5D1766
tetradic
#665D17 #176636 #172066 #661747
square
#665D17 #176636 #172066 #661747
split-complementary
#665D17 #174766 #361766
monochromatic
#191706 #342F0C #665D17 #988B22 #CAB82E

Accessibility & contrast

On white

6.68
#665D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#665D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665D17
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665D17#FFFFFF#000000##FFFFFF
##665D171.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0B
Deuteranopia (green-blind)
#695E1C
Tritanopia (blue-blind)
#6E564F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665d17;
/* rgb */ color: rgb(102, 93, 23);
/* oklch */ color: oklch(47.3% 0.088 101.8);
Tailwind
colors: {
  custom: {
    50: '#958a5a',
    500: '#665d17',
    950: '#000000',
  },
}
SCSS
$custom: #665d17;
$custom-light: #958a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#665d17",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 53.165,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.0882,
    "h": 101.8
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#665D17
secondary
#3C479C
accent
#54E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665D17

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

Preview Lab → · Contrast checker → · Palette generator →

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