#665A10#665A10

#665A10 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.6% C 0.090 H 99.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#665A10
RGBrgb(102, 90, 16)
HSLhsl(52, 73%, 23%)
HSVhsv(52, 84%, 40%)
CMYKcmyk(0%, 11.8%, 84.3%, 60%)
CIE-LABlab(38.15, -3.61, 40.88)
CIE-LCHlch(38.15, 41.04, 95.04°)
OKLaboklab(46.56% -0.0146 0.0886)
OKLCHoklch(46.56% 0.09 99.4)
XYZxyz(9.2297, 10.1750, 1.9679)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665A10 #101C66
analogous
#662F10 #665A10 #476610
triadic
#665A10 #10665A #5A1066
tetradic
#665A10 #10662F #101C66 #661047
square
#665A10 #10662F #101C66 #661047
split-complementary
#665A10 #104766 #2F1066
monochromatic
#1A1704 #312B08 #665A10 #9B8918 #D0B721

Accessibility & contrast

On white

6.92
#665A10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#665A10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665A10
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665A10#FFFFFF#000000##FFFFFF
##665A101.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#675C16
Tritanopia (blue-blind)
#6F534C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665a10;
/* rgb */ color: rgb(102, 90, 16);
/* oklch */ color: oklch(46.6% 0.090 99.4);
Tailwind
colors: {
  custom: {
    50: '#958856',
    500: '#665a10',
    950: '#000000',
  },
}
SCSS
$custom: #665a10;
$custom-light: #958856;
$custom-dark: #000000;
JSON
{
  "hex": "#665a10",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 51.628,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46564,
    "c": 0.08982,
    "h": 99.4
  },
  "luminance": 0.10175
}

Semantic roles & 50–950 ramp

primary
#665A10
secondary
#33429E
accent
#52F038
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #665A10

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

Preview Lab → · Contrast checker → · Palette generator →

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