#66711B#66711B

#66711B is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.2% C 0.108 H 116.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#66711B
RGBrgb(102, 113, 27)
HSLhsl(68, 61%, 27%)
HSVhsv(68, 76%, 44%)
CMYKcmyk(9.7%, 0%, 76.1%, 55.7%)
CIE-LABlab(45.24, -16.08, 43.44)
CIE-LCHlch(45.24, 46.32, 110.31°)
OKLaboklab(52.24% -0.0484 0.0963)
OKLCHoklch(52.24% 0.108 116.7)
XYZxyz(11.5827, 14.7143, 3.2667)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66711B #261B71
analogous
#71511B #66711B #3B711B
triadic
#66711B #1B6671 #711B66
tetradic
#66711B #1B7151 #261B71 #711B3B
square
#66711B #1B7151 #261B71 #711B3B
split-complementary
#66711B #1B3B71 #511B71
monochromatic
#161906 #39400F #66711B #93A227 #BCCF37

Accessibility & contrast

On white

5.33
#66711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#66711B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #66711B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66711B#FFFFFF#000000##FFFFFF
##66711B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0A
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#6D6A60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #66711b;
/* rgb */ color: rgb(102, 113, 27);
/* oklch */ color: oklch(52.2% 0.108 116.7);
Tailwind
colors: {
  custom: {
    50: '#94995e',
    500: '#66711b',
    950: '#000000',
  },
}
SCSS
$custom: #66711b;
$custom-light: #94995e;
$custom-dark: #000000;
JSON
{
  "hex": "#66711b",
  "rgb": {
    "r": 102,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 67.674,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.10777,
    "h": 116.7
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

primary
#66711B
secondary
#4F42A6
accent
#43E558
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #66711B

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

Preview Lab → · Contrast checker → · Palette generator →

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