#665A18#665A18

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

Color values

HEX#665A18
RGBrgb(102, 90, 24)
HSLhsl(51, 62%, 25%)
HSVhsv(51, 76%, 40%)
CMYKcmyk(0%, 11.8%, 76.5%, 60%)
CIE-LABlab(38.21, -3.23, 37.82)
CIE-LCHlch(38.21, 37.96, 94.89°)
OKLaboklab(46.62% -0.0127 0.0838)
OKLCHoklch(46.62% 0.085 98.6)
XYZxyz(9.3010, 10.2035, 2.3435)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665A18 #182466
analogous
#663318 #665A18 #4B6618
triadic
#665A18 #18665A #5A1866
tetradic
#665A18 #186633 #182466 #66184B
square
#665A18 #186633 #182466 #66184B
split-complementary
#665A18 #184B66 #331866
monochromatic
#191606 #342E0C #665A18 #988624 #C9B12F

Accessibility & contrast

On white

6.91
#665A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#665A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665A18
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665A18#FFFFFF#000000##FFFFFF
##665A181.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63580D
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#6E534D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665a18;
/* rgb */ color: rgb(102, 90, 24);
/* oklch */ color: oklch(46.6% 0.085 98.6);
Tailwind
colors: {
  custom: {
    50: '#95885a',
    500: '#665a18',
    950: '#000000',
  },
}
SCSS
$custom: #665a18;
$custom-light: #95885a;
$custom-dark: #000000;
JSON
{
  "hex": "#665a18",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 50.769,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4662,
    "c": 0.0848,
    "h": 98.6
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#665A18
secondary
#3E4C9C
accent
#5CE543
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665A18

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

Preview Lab → · Contrast checker → · Palette generator →

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