#665B18#665B18

#665B18 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.9% C 0.086 H 99.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#665B18
RGBrgb(102, 91, 24)
HSLhsl(52, 62%, 25%)
HSVhsv(52, 76%, 40%)
CMYKcmyk(0%, 10.8%, 76.5%, 60%)
CIE-LABlab(38.50, -3.82, 38.12)
CIE-LCHlch(38.50, 38.31, 95.73°)
OKLaboklab(46.86% -0.0144 0.0845)
OKLCHoklch(46.86% 0.086 99.7)
XYZxyz(9.3859, 10.3733, 2.3718)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B18 #182366
analogous
#663418 #665B18 #4A6618
triadic
#665B18 #18665B #5B1866
tetradic
#665B18 #186634 #182366 #66184A
square
#665B18 #186634 #182366 #66184A
split-complementary
#665B18 #184A66 #341866
monochromatic
#191606 #342F0C #665B18 #988724 #C9B32F

Accessibility & contrast

On white

6.83
#665B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#665B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665B18
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665B18#FFFFFF#000000##FFFFFF
##665B181.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580D
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#6E544E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665b18;
/* rgb */ color: rgb(102, 91, 24);
/* oklch */ color: oklch(46.9% 0.086 99.7);
Tailwind
colors: {
  custom: {
    50: '#95895a',
    500: '#665b18',
    950: '#000000',
  },
}
SCSS
$custom: #665b18;
$custom-light: #95895a;
$custom-dark: #000000;
JSON
{
  "hex": "#665b18",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 51.538,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46857,
    "c": 0.08568,
    "h": 99.7
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

primary
#665B18
secondary
#3E4B9C
accent
#5AE543
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665B18

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

Preview Lab → · Contrast checker → · Palette generator →

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