#666E1F#666E1F

#666E1F is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.5% C 0.101 H 115.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#666E1F
RGBrgb(102, 110, 31)
HSLhsl(66, 56%, 28%)
HSVhsv(66, 72%, 43%)
CMYKcmyk(7.3%, 0%, 71.8%, 56.9%)
CIE-LABlab(44.34, -14.21, 40.95)
CIE-LCHlch(44.34, 43.35, 109.14°)
OKLaboklab(51.53% -0.0428 0.0918)
OKLCHoklch(51.53% 0.101 115)
XYZxyz(11.3030, 14.0758, 3.4175)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E1F #271F6E
analogous
#6E4E1F #666E1F #3E6E1F
triadic
#666E1F #1F666E #6E1F66
tetradic
#666E1F #1F6E4E #271F6E #6E1F3E
square
#666E1F #1F6E4E #271F6E #6E1F3E
split-complementary
#666E1F #1F3E6E #4E1F6E
monochromatic
#161807 #3A3E12 #666E1F #929E2C #BBC93F

Accessibility & contrast

On white

5.50
#666E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#666E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666E1F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E1F#FFFFFF#000000##FFFFFF
##666E1F1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766813
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#6D675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e1f;
/* rgb */ color: rgb(102, 110, 31);
/* oklch */ color: oklch(51.5% 0.101 115.0);
Tailwind
colors: {
  custom: {
    50: '#949760',
    500: '#666e1f',
    950: '#000000',
  },
}
SCSS
$custom: #666e1f;
$custom-light: #949760;
$custom-dark: #000000;
JSON
{
  "hex": "#666e1f",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 66.076,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.10126,
    "h": 115
  },
  "luminance": 0.14076
}

Semantic roles & 50–950 ramp

primary
#666E1F
secondary
#5047A2
accent
#48DF58
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666E1F

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

Preview Lab → · Contrast checker → · Palette generator →

#666E1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva