#665E16#665E16

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

Color values

HEX#665E16
RGBrgb(102, 94, 22)
HSLhsl(54, 65%, 24%)
HSVhsv(54, 78%, 40%)
CMYKcmyk(0%, 7.8%, 78.4%, 60%)
CIE-LABlab(39.39, -5.68, 39.79)
CIE-LCHlch(39.39, 40.20, 98.13°)
OKLaboklab(47.56% -0.0199 0.0876)
OKLCHoklch(47.56% 0.09 102.8)
XYZxyz(9.6274, 10.8885, 2.3535)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665E16 #161E66
analogous
#663616 #665E16 #466616
triadic
#665E16 #16665E #5E1666
tetradic
#665E16 #166636 #161E66 #661646
square
#665E16 #166636 #161E66 #661646
split-complementary
#665E16 #164666 #361666
monochromatic
#191705 #34300B #665E16 #988C21 #CBBB2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665E16#FFFFFF#000000##FFFFFF
##665E161.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)
#675B08
Deuteranopia (green-blind)
#6A5E1B
Tritanopia (blue-blind)
#6E5750
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #665e16;
/* rgb */ color: rgb(102, 94, 22);
/* oklch */ color: oklch(47.6% 0.090 102.8);
Tailwind
colors: {
  custom: {
    50: '#958b59',
    500: '#665e16',
    950: '#000000',
  },
}
SCSS
$custom: #665e16;
$custom-light: #958b59;
$custom-dark: #000000;
JSON
{
  "hex": "#665e16",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 54,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47558,
    "c": 0.08982,
    "h": 102.8
  },
  "luminance": 0.10888
}

Semantic roles & 50–950 ramp

primary
#665E16
secondary
#3B459D
accent
#51E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665E16

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

Preview Lab → · Contrast checker → · Palette generator →

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