#66731B#66731B

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

Color values

HEX#66731B
RGBrgb(102, 115, 27)
HSLhsl(69, 62%, 28%)
HSVhsv(69, 77%, 45%)
CMYKcmyk(11.3%, 0%, 76.5%, 54.9%)
CIE-LABlab(45.86, -17.15, 44.04)
CIE-LCHlch(45.86, 47.26, 111.28°)
OKLaboklab(52.74% -0.0514 0.0976)
OKLCHoklch(52.74% 0.11 117.8)
XYZxyz(11.8083, 15.1655, 3.3419)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66731B #281B73
analogous
#73541B #66731B #3A731B
triadic
#66731B #1B6673 #731B66
tetradic
#66731B #1B7354 #281B73 #731B3A
square
#66731B #1B7354 #281B73 #731B3A
split-complementary
#66731B #1B3A73 #541B73
monochromatic
#161906 #3A410F #66731B #92A527 #BAD038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66731B#FFFFFF#000000##FFFFFF
##66731B1.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)
#7B6C09
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#6D6C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #66731b;
/* rgb */ color: rgb(102, 115, 27);
/* oklch */ color: oklch(52.7% 0.110 117.8);
Tailwind
colors: {
  custom: {
    50: '#949b5f',
    500: '#66731b',
    950: '#000000',
  },
}
SCSS
$custom: #66731b;
$custom-light: #949b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#66731b",
  "rgb": {
    "r": 102,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 68.864,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.11024,
    "h": 117.8
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#66731B
secondary
#5142A8
accent
#43E55B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #66731B

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

Preview Lab → · Contrast checker → · Palette generator →

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