#666E27#666E27

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

Color values

HEX#666E27
RGBrgb(102, 110, 39)
HSLhsl(67, 48%, 29%)
HSVhsv(67, 65%, 43%)
CMYKcmyk(7.3%, 0%, 64.5%, 56.9%)
CIE-LABlab(44.41, -13.65, 37.43)
CIE-LCHlch(44.41, 39.84, 110.03°)
OKLaboklab(51.61% -0.0403 0.0857)
OKLCHoklch(51.61% 0.095 115.2)
XYZxyz(11.4219, 14.1233, 4.0434)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E27 #2F276E
analogous
#6E5327 #666E27 #436E27
triadic
#666E27 #27666E #6E2766
tetradic
#666E27 #276E53 #2F276E #6E2743
square
#666E27 #276E53 #2F276E #6E2743
split-complementary
#666E27 #27436E #53276E
monochromatic
#151708 #3C4117 #666E27 #909B37 #B4C14F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666E27#FFFFFF#000000##FFFFFF
##666E271.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666e27;
/* rgb */ color: rgb(102, 110, 39);
/* oklch */ color: oklch(51.6% 0.095 115.2);
Tailwind
colors: {
  custom: {
    50: '#949765',
    500: '#666e27',
    950: '#000000',
  },
}
SCSS
$custom: #666e27;
$custom-light: #949765;
$custom-dark: #000000;
JSON
{
  "hex": "#666e27",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 39
  },
  "hsl": {
    "h": 66.761,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51606,
    "c": 0.09468,
    "h": 115.2
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#666E27
secondary
#5950A1
accent
#51D760
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666E27

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

Preview Lab → · Contrast checker → · Palette generator →

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