#665F22#665F22

#665F22 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.9% C 0.081 H 102.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#665F22
RGBrgb(102, 95, 34)
HSLhsl(54, 50%, 27%)
HSVhsv(54, 67%, 40%)
CMYKcmyk(0%, 6.9%, 66.7%, 60%)
CIE-LABlab(39.79, -5.53, 34.85)
CIE-LCHlch(39.79, 35.29, 99.02°)
OKLaboklab(47.91% -0.018 0.0794)
OKLCHoklch(47.91% 0.081 102.8)
XYZxyz(9.8608, 11.1251, 3.1410)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665F22 #222966
analogous
#663D22 #665F22 #4B6622
triadic
#665F22 #22665F #5F2266
tetradic
#665F22 #22663D #222966 #66224B
square
#665F22 #22663D #222966 #66224B
split-complementary
#665F22 #224B66 #3D2266
monochromatic
#171508 #383413 #665F22 #948A31 #C0B342

Accessibility & contrast

On white

6.51
#665F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#665F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665F22
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665F22#FFFFFF#000000##FFFFFF
##665F221.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C1B
Deuteranopia (green-blind)
#6A5F25
Tritanopia (blue-blind)
#6E5852
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #665f22;
/* rgb */ color: rgb(102, 95, 34);
/* oklch */ color: oklch(47.9% 0.081 102.8);
Tailwind
colors: {
  custom: {
    50: '#948c60',
    500: '#665f22',
    950: '#000000',
  },
}
SCSS
$custom: #665f22;
$custom-light: #948c60;
$custom-dark: #000000;
JSON
{
  "hex": "#665f22",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 34
  },
  "hsl": {
    "h": 53.824,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.08144,
    "h": 102.8
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#665F22
secondary
#4A529A
accent
#5DDA4E
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #665F22

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

Preview Lab → · Contrast checker → · Palette generator →

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