#665D22#665D22

#665D22 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.4% C 0.079 H 100.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#665D22
RGBrgb(102, 93, 34)
HSLhsl(52, 50%, 27%)
HSVhsv(52, 67%, 40%)
CMYKcmyk(0%, 8.8%, 66.7%, 60%)
CIE-LABlab(39.19, -4.36, 34.20)
CIE-LCHlch(39.19, 34.48, 97.27°)
OKLaboklab(47.43% -0.0147 0.0781)
OKLCHoklch(47.43% 0.079 100.6)
XYZxyz(9.6830, 10.7694, 3.0817)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665D22 #222B66
analogous
#663B22 #665D22 #4D6622
triadic
#665D22 #22665D #5D2266
tetradic
#665D22 #22663B #222B66 #66224D
square
#665D22 #22663B #222B66 #66224D
split-complementary
#665D22 #224D66 #3B2266
monochromatic
#171508 #383313 #665D22 #948731 #C0AF42

Accessibility & contrast

On white

6.66
#665D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#665D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665D22
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665D22#FFFFFF#000000##FFFFFF
##665D221.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A1B
Deuteranopia (green-blind)
#685E25
Tritanopia (blue-blind)
#6E5650
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665d22;
/* rgb */ color: rgb(102, 93, 34);
/* oklch */ color: oklch(47.4% 0.079 100.6);
Tailwind
colors: {
  custom: {
    50: '#948a60',
    500: '#665d22',
    950: '#000000',
  },
}
SCSS
$custom: #665d22;
$custom-light: #948a60;
$custom-dark: #000000;
JSON
{
  "hex": "#665d22",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 34
  },
  "hsl": {
    "h": 52.059,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47428,
    "c": 0.07942,
    "h": 100.6
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#665D22
secondary
#4A559A
accent
#61DA4E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #665D22

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

Preview Lab → · Contrast checker → · Palette generator →

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