#665D28#665D28

#665D28 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.5% C 0.074 H 99.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#665D28
RGBrgb(102, 93, 40)
HSLhsl(51, 44%, 28%)
HSVhsv(51, 61%, 40%)
CMYKcmyk(0%, 8.8%, 60.8%, 60%)
CIE-LABlab(39.25, -3.89, 31.20)
CIE-LCHlch(39.25, 31.45, 97.10°)
OKLaboklab(47.5% -0.0125 0.0725)
OKLCHoklch(47.5% 0.074 99.8)
XYZxyz(9.7772, 10.8071, 3.5780)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665D28 #283166
analogous
#663E28 #665D28 #506628
triadic
#665D28 #28665D #5D2866
tetradic
#665D28 #28663E #283166 #662850
square
#665D28 #28663E #283166 #662850
split-complementary
#665D28 #285066 #3E2866
monochromatic
#161409 #3A3517 #665D28 #928539 #BAAA4F

Accessibility & contrast

On white

6.64
#665D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#665D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665D28
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665D28#FFFFFF#000000##FFFFFF
##665D281.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A23
Deuteranopia (green-blind)
#685E2B
Tritanopia (blue-blind)
#6E5751
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665d28;
/* rgb */ color: rgb(102, 93, 40);
/* oklch */ color: oklch(47.5% 0.074 99.8);
Tailwind
colors: {
  custom: {
    50: '#938a64',
    500: '#665d28',
    950: '#000000',
  },
}
SCSS
$custom: #665d28;
$custom-light: #938a64;
$custom-dark: #000000;
JSON
{
  "hex": "#665d28",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 40
  },
  "hsl": {
    "h": 51.29,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.475,
    "c": 0.0736,
    "h": 99.8
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#665D28
secondary
#515C99
accent
#67D354
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0D0B05
muted
#7E7C7A

Preview Lab

Preview with #665D28

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

Preview Lab → · Contrast checker → · Palette generator →

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