#666E25#666E25

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

Color values

HEX#666E25
RGBrgb(102, 110, 37)
HSLhsl(67, 50%, 29%)
HSVhsv(67, 66%, 43%)
CMYKcmyk(7.3%, 0%, 66.4%, 56.9%)
CIE-LABlab(44.39, -13.80, 38.34)
CIE-LCHlch(44.39, 40.75, 109.79°)
OKLaboklab(51.59% -0.041 0.0873)
OKLCHoklch(51.59% 0.096 115.2)
XYZxyz(11.3896, 14.1104, 3.8735)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E25 #2D256E
analogous
#6E5225 #666E25 #426E25
triadic
#666E25 #25666E #6E2566
tetradic
#666E25 #256E52 #2D256E #6E2542
square
#666E25 #256E52 #2D256E #6E2542
split-complementary
#666E25 #25426E #52256E
monochromatic
#151708 #3C4016 #666E25 #909C34 #B5C24B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666E25#FFFFFF#000000##FFFFFF
##666E251.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)
#76681C
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e25;
/* rgb */ color: rgb(102, 110, 37);
/* oklch */ color: oklch(51.6% 0.096 115.2);
Tailwind
colors: {
  custom: {
    50: '#949763',
    500: '#666e25',
    950: '#000000',
  },
}
SCSS
$custom: #666e25;
$custom-light: #949763;
$custom-dark: #000000;
JSON
{
  "hex": "#666e25",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 37
  },
  "hsl": {
    "h": 66.575,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51586,
    "c": 0.09644,
    "h": 115.2
  },
  "luminance": 0.1411
}

Semantic roles & 50–950 ramp

primary
#666E25
secondary
#574EA1
accent
#4FD95E
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #666E25

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

Preview Lab → · Contrast checker → · Palette generator →

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