#66711F#66711F

#66711F is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.3% C 0.105 H 116.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#66711F
RGBrgb(102, 113, 31)
HSLhsl(68, 57%, 28%)
HSVhsv(68, 73%, 44%)
CMYKcmyk(9.7%, 0%, 72.6%, 55.7%)
CIE-LABlab(45.27, -15.84, 41.88)
CIE-LCHlch(45.27, 44.77, 110.72°)
OKLaboklab(52.27% -0.0474 0.0937)
OKLCHoklch(52.27% 0.105 116.8)
XYZxyz(11.6322, 14.7341, 3.5272)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66711F #2A1F71
analogous
#71531F #66711F #3D711F
triadic
#66711F #1F6671 #711F66
tetradic
#66711F #1F7153 #2A1F71 #711F3D
square
#66711F #1F7153 #2A1F71 #711F3D
split-complementary
#66711F #1F3D71 #531F71
monochromatic
#161807 #3B4112 #66711F #91A12C #B8CB40

Accessibility & contrast

On white

5.32
#66711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#66711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #66711F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66711F#FFFFFF#000000##FFFFFF
##66711F1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B12
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#6D6A61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #66711f;
/* rgb */ color: rgb(102, 113, 31);
/* oklch */ color: oklch(52.3% 0.105 116.8);
Tailwind
colors: {
  custom: {
    50: '#949960',
    500: '#66711f',
    950: '#000000',
  },
}
SCSS
$custom: #66711f;
$custom-light: #949960;
$custom-dark: #000000;
JSON
{
  "hex": "#66711f",
  "rgb": {
    "r": 102,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 68.049,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.10501,
    "h": 116.8
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#66711F
secondary
#5447A5
accent
#48E05C
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #66711F

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

Preview Lab → · Contrast checker → · Palette generator →

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