#66700F#66700F

#66700F is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.113 H 115.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#66700F
RGBrgb(102, 112, 15)
HSLhsl(66, 76%, 25%)
HSVhsv(66, 87%, 44%)
CMYKcmyk(8.9%, 0%, 86.6%, 56.1%)
CIE-LABlab(44.87, -16.07, 47.04)
CIE-LCHlch(44.87, 49.71, 108.86°)
OKLaboklab(51.92% -0.0494 0.1017)
OKLCHoklch(51.92% 0.113 115.9)
XYZxyz(11.3602, 14.4478, 2.6421)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66700F #190F70
analogous
#704A0F #66700F #35700F
triadic
#66700F #0F6670 #700F66
tetradic
#66700F #0F704A #190F70 #700F35
square
#66700F #0F704A #190F70 #700F35
split-complementary
#66700F #0F3570 #4A0F70
monochromatic
#191B04 #353A08 #66700F #97A616 #C8DC1D

Accessibility & contrast

On white

5.40
#66700F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#66700F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #66700F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66700F#FFFFFF#000000##FFFFFF
##66700F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#786B19
Tritanopia (blue-blind)
#6D695F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #66700f;
/* rgb */ color: rgb(102, 112, 15);
/* oklch */ color: oklch(51.9% 0.113 115.9);
Tailwind
colors: {
  custom: {
    50: '#959859',
    500: '#66700f',
    950: '#000000',
  },
}
SCSS
$custom: #66700f;
$custom-light: #959859;
$custom-dark: #000000;
JSON
{
  "hex": "#66700f",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 15
  },
  "hsl": {
    "h": 66.186,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.51924,
    "c": 0.11305,
    "h": 115.9
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

primary
#66700F
secondary
#3F33A8
accent
#35F348
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #66700F

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

Preview Lab → · Contrast checker → · Palette generator →

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