#66731C#66731C

#66731C 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#66731C
RGBrgb(102, 115, 28)
HSLhsl(69, 61%, 28%)
HSVhsv(69, 76%, 45%)
CMYKcmyk(11.3%, 0%, 75.7%, 54.9%)
CIE-LABlab(45.87, -17.09, 43.66)
CIE-LCHlch(45.87, 46.89, 111.38°)
OKLaboklab(52.75% -0.0511 0.0969)
OKLCHoklch(52.75% 0.11 117.8)
XYZxyz(11.8201, 15.1702, 3.4038)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66731C #291C73
analogous
#73551C #66731C #3A731C
triadic
#66731C #1C6673 #731C66
tetradic
#66731C #1C7355 #291C73 #731C3A
square
#66731C #1C7355 #291C73 #731C3A
split-complementary
#66731C #1C3A73 #551C73
monochromatic
#161906 #3A4210 #66731C #92A428 #B9CF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #66731c;
/* rgb */ color: rgb(102, 115, 28);
/* oklch */ color: oklch(52.7% 0.110 117.8);
Tailwind
colors: {
  custom: {
    50: '#949b5f',
    500: '#66731c',
    950: '#000000',
  },
}
SCSS
$custom: #66731c;
$custom-light: #949b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#66731c",
  "rgb": {
    "r": 102,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 68.966,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.10959,
    "h": 117.8
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#66731C
secondary
#5243A7
accent
#44E45C
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #66731C

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

Preview Lab → · Contrast checker → · Palette generator →

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