#666E2F#666E2F

#666E2F is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.7% C 0.087 H 115.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#666E2F
RGBrgb(102, 110, 47)
HSLhsl(68, 40%, 31%)
HSVhsv(68, 57%, 43%)
CMYKcmyk(7.3%, 0%, 57.3%, 56.9%)
CIE-LABlab(44.49, -12.95, 33.56)
CIE-LCHlch(44.49, 35.98, 111.10°)
OKLaboklab(51.7% -0.0375 0.0785)
OKLCHoklch(51.7% 0.087 115.5)
XYZxyz(11.5687, 14.1820, 4.8167)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E2F #372F6E
analogous
#6E562F #666E2F #466E2F
triadic
#666E2F #2F666E #6E2F66
tetradic
#666E2F #2F6E56 #372F6E #6E2F46
square
#666E2F #2F6E56 #372F6E #6E2F46
split-complementary
#666E2F #2F466E #562F6E
monochromatic
#16180A #3E431D #666E2F #8E9941 #AEBA5D

Accessibility & contrast

On white

5.47
#666E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#666E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666E2F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E2F#FFFFFF#000000##FFFFFF
##666E2F1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756929
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#6C6860
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e2f;
/* rgb */ color: rgb(102, 110, 47);
/* oklch */ color: oklch(51.7% 0.087 115.5);
Tailwind
colors: {
  custom: {
    50: '#93976a',
    500: '#666e2f',
    950: '#000000',
  },
}
SCSS
$custom: #666e2f;
$custom-light: #93976a;
$custom-dark: #000000;
JSON
{
  "hex": "#666e2f",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 47
  },
  "hsl": {
    "h": 67.619,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.517,
    "c": 0.08697,
    "h": 115.5
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

primary
#666E2F
secondary
#62599F
accent
#58D067
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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