#666E28#666E28

#666E28 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.6% C 0.094 H 115.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#666E28
RGBrgb(102, 110, 40)
HSLhsl(67, 47%, 29%)
HSVhsv(67, 64%, 43%)
CMYKcmyk(7.3%, 0%, 63.6%, 56.9%)
CIE-LABlab(44.42, -13.57, 36.96)
CIE-LCHlch(44.42, 39.37, 110.16°)
OKLaboklab(51.62% -0.04 0.0848)
OKLCHoklch(51.62% 0.094 115.2)
XYZxyz(11.4387, 14.1300, 4.1319)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E28 #30286E
analogous
#6E5328 #666E28 #436E28
triadic
#666E28 #28666E #6E2866
tetradic
#666E28 #286E53 #30286E #6E2843
square
#666E28 #286E53 #30286E #6E2843
split-complementary
#666E28 #28436E #53286E
monochromatic
#151608 #3C4118 #666E28 #909B38 #B3C051

Accessibility & contrast

On white

5.49
#666E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#666E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666E28
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E28#FFFFFF#000000##FFFFFF
##666E281.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766920
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#6C685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e28;
/* rgb */ color: rgb(102, 110, 40);
/* oklch */ color: oklch(51.6% 0.094 115.2);
Tailwind
colors: {
  custom: {
    50: '#949765',
    500: '#666e28',
    950: '#000000',
  },
}
SCSS
$custom: #666e28;
$custom-light: #949765;
$custom-dark: #000000;
JSON
{
  "hex": "#666e28",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 40
  },
  "hsl": {
    "h": 66.857,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51617,
    "c": 0.09378,
    "h": 115.2
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#666E28
secondary
#5A51A0
accent
#51D661
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666E28

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

Preview Lab → · Contrast checker → · Palette generator →

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