#665F18#665F18

#665F18 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.8% C 0.089 H 103.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#665F18
RGBrgb(102, 95, 24)
HSLhsl(55, 62%, 25%)
HSVhsv(55, 76%, 40%)
CMYKcmyk(0%, 6.9%, 76.5%, 60%)
CIE-LABlab(39.71, -6.16, 39.29)
CIE-LCHlch(39.71, 39.77, 98.92°)
OKLaboklab(47.81% -0.021 0.0869)
OKLCHoklch(47.81% 0.089 103.6)
XYZxyz(9.7370, 11.0755, 2.4889)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665F18 #181F66
analogous
#663818 #665F18 #466618
triadic
#665F18 #18665F #5F1866
tetradic
#665F18 #186638 #181F66 #661846
square
#665F18 #186638 #181F66 #661846
split-complementary
#665F18 #184666 #381866
monochromatic
#191706 #34310C #665F18 #988D24 #C9BB2F

Accessibility & contrast

On white

6.53
#665F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#665F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665F18
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665F18#FFFFFF#000000##FFFFFF
##665F181.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0C
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#6E5851
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #665f18;
/* rgb */ color: rgb(102, 95, 24);
/* oklch */ color: oklch(47.8% 0.089 103.6);
Tailwind
colors: {
  custom: {
    50: '#948c5a',
    500: '#665f18',
    950: '#000000',
  },
}
SCSS
$custom: #665f18;
$custom-light: #948c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#665f18",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 54.615,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.08944,
    "h": 103.6
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#665F18
secondary
#3E469C
accent
#51E543
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #665F18

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

Preview Lab → · Contrast checker → · Palette generator →

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