#665A26#665A26

#665A26 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.8% C 0.073 H 96.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#665A26
RGBrgb(102, 90, 38)
HSLhsl(49, 46%, 27%)
HSVhsv(49, 63%, 40%)
CMYKcmyk(0%, 11.8%, 62.7%, 60%)
CIE-LABlab(38.34, -2.28, 31.22)
CIE-LCHlch(38.34, 31.30, 94.18°)
OKLaboklab(46.77% -0.0082 0.0723)
OKLCHoklch(46.77% 0.073 96.4)
XYZxyz(9.4859, 10.2775, 3.3174)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665A26 #263266
analogous
#663A26 #665A26 #526626
triadic
#665A26 #26665A #5A2666
tetradic
#665A26 #26663A #263266 #662652
square
#665A26 #26663A #263266 #662652
split-complementary
#665A26 #265266 #3A2666
monochromatic
#161408 #393315 #665A26 #938137 #BCA74B

Accessibility & contrast

On white

6.87
#665A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#665A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665A26
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665A26#FFFFFF#000000##FFFFFF
##665A261.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635821
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#6E544F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665a26;
/* rgb */ color: rgb(102, 90, 38);
/* oklch */ color: oklch(46.8% 0.073 96.4);
Tailwind
colors: {
  custom: {
    50: '#948862',
    500: '#665a26',
    950: '#000000',
  },
}
SCSS
$custom: #665a26;
$custom-light: #948862;
$custom-dark: #000000;
JSON
{
  "hex": "#665a26",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 38
  },
  "hsl": {
    "h": 48.75,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46765,
    "c": 0.07275,
    "h": 96.4
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#665A26
secondary
#4F5D99
accent
#6BD552
background
#F9F8F5
surface
#F2EFEA
border
#CCCAC6
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #665A26

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

Preview Lab → · Contrast checker → · Palette generator →

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