#66731A#66731A

#66731A is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 52.7% C 0.111 H 117.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#66731A
RGBrgb(102, 115, 26)
HSLhsl(69, 63%, 28%)
HSVhsv(69, 77%, 45%)
CMYKcmyk(11.3%, 0%, 77.4%, 54.9%)
CIE-LABlab(45.85, -17.20, 44.40)
CIE-LCHlch(45.85, 47.62, 111.18°)
OKLaboklab(52.73% -0.0516 0.0981)
OKLCHoklch(52.73% 0.111 117.7)
XYZxyz(11.7970, 15.1610, 3.2820)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66731A #271A73
analogous
#73531A #66731A #39731A
triadic
#66731A #1A6673 #731A66
tetradic
#66731A #1A7353 #271A73 #731A39
square
#66731A #1A7353 #271A73 #731A39
split-complementary
#66731A #1A3973 #531A73
monochromatic
#161906 #3A410F #66731A #92A525 #BBD236

Accessibility & contrast

On white

5.21
#66731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#66731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #66731A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66731A#FFFFFF#000000##FFFFFF
##66731A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C07
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#6D6C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #66731a;
/* rgb */ color: rgb(102, 115, 26);
/* oklch */ color: oklch(52.7% 0.111 117.7);
Tailwind
colors: {
  custom: {
    50: '#949b5e',
    500: '#66731a',
    950: '#000000',
  },
}
SCSS
$custom: #66731a;
$custom-light: #949b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#66731a",
  "rgb": {
    "r": 102,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 68.764,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.11087,
    "h": 117.7
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#66731A
secondary
#5041A8
accent
#42E65A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #66731A

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

Preview Lab → · Contrast checker → · Palette generator →

#66731A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva