#665E18#665E18

#665E18 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.6% C 0.088 H 102.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#665E18
RGBrgb(102, 94, 24)
HSLhsl(54, 62%, 25%)
HSVhsv(54, 76%, 40%)
CMYKcmyk(0%, 7.8%, 76.5%, 60%)
CIE-LABlab(39.41, -5.58, 38.99)
CIE-LCHlch(39.41, 39.39, 98.15°)
OKLaboklab(47.57% -0.0194 0.0863)
OKLCHoklch(47.57% 0.088 102.6)
XYZxyz(9.6475, 10.8965, 2.4590)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665E18 #182066
analogous
#663718 #665E18 #476618
triadic
#665E18 #18665E #5E1866
tetradic
#665E18 #186637 #182066 #661847
square
#665E18 #186637 #182066 #661847
split-complementary
#665E18 #184766 #371866
monochromatic
#191706 #34300C #665E18 #988C24 #C9B92F

Accessibility & contrast

On white

6.61
#665E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#665E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665E18
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665E18#FFFFFF#000000##FFFFFF
##665E181.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0C
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#6E5750
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #665e18;
/* rgb */ color: rgb(102, 94, 24);
/* oklch */ color: oklch(47.6% 0.088 102.6);
Tailwind
colors: {
  custom: {
    50: '#948b5a',
    500: '#665e18',
    950: '#000000',
  },
}
SCSS
$custom: #665e18;
$custom-light: #948b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#665e18",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 53.846,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47573,
    "c": 0.08847,
    "h": 102.6
  },
  "luminance": 0.10896
}

Semantic roles & 50–950 ramp

primary
#665E18
secondary
#3E479C
accent
#53E543
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665E18

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

Preview Lab → · Contrast checker → · Palette generator →

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