#66701F#66701F

#66701F is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.0% C 0.104 H 116.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#66701F
RGBrgb(102, 112, 31)
HSLhsl(67, 57%, 28%)
HSVhsv(67, 72%, 44%)
CMYKcmyk(8.9%, 0%, 72.3%, 56.1%)
CIE-LABlab(44.96, -15.30, 41.57)
CIE-LCHlch(44.96, 44.30, 110.21°)
OKLaboklab(52.03% -0.0458 0.0931)
OKLCHoklch(52.03% 0.104 116.2)
XYZxyz(11.5213, 14.5122, 3.4903)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66701F #291F70
analogous
#70511F #66701F #3E701F
triadic
#66701F #1F6670 #701F66
tetradic
#66701F #1F7051 #291F70 #701F3E
square
#66701F #1F7051 #291F70 #701F3E
split-complementary
#66701F #1F3E70 #511F70
monochromatic
#161807 #3A4012 #66701F #92A02C #B9CA3F

Accessibility & contrast

On white

5.38
#66701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#66701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #66701F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66701F#FFFFFF#000000##FFFFFF
##66701F1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A12
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#6D6960
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #66701f;
/* rgb */ color: rgb(102, 112, 31);
/* oklch */ color: oklch(52.0% 0.104 116.2);
Tailwind
colors: {
  custom: {
    50: '#949960',
    500: '#66701f',
    950: '#000000',
  },
}
SCSS
$custom: #66701f;
$custom-light: #949960;
$custom-dark: #000000;
JSON
{
  "hex": "#66701f",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 67.407,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.10376,
    "h": 116.2
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#66701F
secondary
#5247A4
accent
#48E05B
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #66701F

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

Preview Lab → · Contrast checker → · Palette generator →

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