#665F28#665F28

#665F28 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 48.0% C 0.076 H 102.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#665F28
RGBrgb(102, 95, 40)
HSLhsl(53, 44%, 28%)
HSVhsv(53, 61%, 40%)
CMYKcmyk(0%, 6.9%, 60.8%, 60%)
CIE-LABlab(39.85, -5.06, 31.89)
CIE-LCHlch(39.85, 32.29, 99.02°)
OKLaboklab(47.98% -0.0159 0.074)
OKLCHoklch(47.98% 0.076 102.1)
XYZxyz(9.9550, 11.1628, 3.6373)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665F28 #282F66
analogous
#664028 #665F28 #4E6628
triadic
#665F28 #28665F #5F2866
tetradic
#665F28 #286640 #282F66 #66284E
square
#665F28 #286640 #282F66 #66284E
split-complementary
#665F28 #284E66 #402866
monochromatic
#161409 #3A3617 #665F28 #928839 #BAAE4F

Accessibility & contrast

On white

6.50
#665F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665F28
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665F28#FFFFFF#000000##FFFFFF
##665F281.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C22
Deuteranopia (green-blind)
#695F2B
Tritanopia (blue-blind)
#6D5953
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #665f28;
/* rgb */ color: rgb(102, 95, 40);
/* oklch */ color: oklch(48.0% 0.076 102.1);
Tailwind
colors: {
  custom: {
    50: '#938c64',
    500: '#665f28',
    950: '#000000',
  },
}
SCSS
$custom: #665f28;
$custom-light: #938c64;
$custom-dark: #000000;
JSON
{
  "hex": "#665f28",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 53.226,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.07568,
    "h": 102.1
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

primary
#665F28
secondary
#515999
accent
#63D354
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0D0C05
muted
#7E7D7A

Preview Lab

Preview with #665F28

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

Preview Lab → · Contrast checker → · Palette generator →

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