#665B28#665B28

#665B28 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 47.0% C 0.072 H 97.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#665B28
RGBrgb(102, 91, 40)
HSLhsl(49, 44%, 28%)
HSVhsv(49, 61%, 40%)
CMYKcmyk(0%, 10.8%, 60.8%, 60%)
CIE-LABlab(38.66, -2.71, 30.52)
CIE-LCHlch(38.66, 30.64, 95.06°)
OKLaboklab(47.03% -0.0091 0.0711)
OKLCHoklch(47.03% 0.072 97.3)
XYZxyz(9.6039, 10.4606, 3.5203)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B28 #283366
analogous
#663C28 #665B28 #526628
triadic
#665B28 #28665B #5B2866
tetradic
#665B28 #28663C #283366 #662852
square
#665B28 #28663C #283366 #662852
split-complementary
#665B28 #285266 #3C2866
monochromatic
#161409 #3A3417 #665B28 #928239 #BAA74F

Accessibility & contrast

On white

6.79
#665B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#665B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665B28
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665B28#FFFFFF#000000##FFFFFF
##665B281.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635923
Deuteranopia (green-blind)
#665D2A
Tritanopia (blue-blind)
#6E5550
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665b28;
/* rgb */ color: rgb(102, 91, 40);
/* oklch */ color: oklch(47.0% 0.072 97.3);
Tailwind
colors: {
  custom: {
    50: '#948964',
    500: '#665b28',
    950: '#000000',
  },
}
SCSS
$custom: #665b28;
$custom-light: #948964;
$custom-dark: #000000;
JSON
{
  "hex": "#665b28",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 40
  },
  "hsl": {
    "h": 49.355,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47027,
    "c": 0.07164,
    "h": 97.3
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#665B28
secondary
#515E99
accent
#6BD354
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0D0B05
muted
#7E7C7A

Preview Lab

Preview with #665B28

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

Preview Lab → · Contrast checker → · Palette generator →

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