#665C28#665C28

#665C28 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.3% C 0.073 H 98.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#665C28
RGBrgb(102, 92, 40)
HSLhsl(50, 44%, 28%)
HSVhsv(50, 61%, 40%)
CMYKcmyk(0%, 9.8%, 60.8%, 60%)
CIE-LABlab(38.95, -3.30, 30.86)
CIE-LCHlch(38.95, 31.04, 96.10°)
OKLaboklab(47.26% -0.0108 0.0718)
OKLCHoklch(47.26% 0.073 98.6)
XYZxyz(9.6900, 10.6327, 3.5490)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665C28 #283266
analogous
#663D28 #665C28 #516628
triadic
#665C28 #28665C #5C2866
tetradic
#665C28 #28663D #283266 #662851
square
#665C28 #28663D #283266 #662851
split-complementary
#665C28 #285166 #3D2866
monochromatic
#161409 #3A3417 #665C28 #928439 #BAA94F

Accessibility & contrast

On white

6.72
#665C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#665C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665C28
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665C28#FFFFFF#000000##FFFFFF
##665C281.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A23
Deuteranopia (green-blind)
#675D2A
Tritanopia (blue-blind)
#6E5650
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665c28;
/* rgb */ color: rgb(102, 92, 40);
/* oklch */ color: oklch(47.3% 0.073 98.6);
Tailwind
colors: {
  custom: {
    50: '#948964',
    500: '#665c28',
    950: '#000000',
  },
}
SCSS
$custom: #665c28;
$custom-light: #948964;
$custom-dark: #000000;
JSON
{
  "hex": "#665c28",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 40
  },
  "hsl": {
    "h": 50.323,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.07261,
    "h": 98.6
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#665C28
secondary
#515D99
accent
#69D354
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0D0B05
muted
#7E7C7A

Preview Lab

Preview with #665C28

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

Preview Lab → · Contrast checker → · Palette generator →

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