#666D25#666D25

#666D25 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.095 H 114.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#666D25
RGBrgb(102, 109, 37)
HSLhsl(66, 49%, 29%)
HSVhsv(66, 66%, 43%)
CMYKcmyk(6.4%, 0%, 66.1%, 57.3%)
CIE-LABlab(44.08, -13.25, 38.02)
CIE-LCHlch(44.08, 40.26, 109.21°)
OKLaboklab(51.34% -0.0394 0.0866)
OKLCHoklch(51.34% 0.095 114.5)
XYZxyz(11.2823, 13.8958, 3.8377)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D25 #2C256D
analogous
#6D5025 #666D25 #426D25
triadic
#666D25 #25666D #6D2566
tetradic
#666D25 #256D50 #2C256D #6D2542
square
#666D25 #256D50 #2C256D #6D2542
split-complementary
#666D25 #25426D #50256D
monochromatic
#151708 #3B3F15 #666D25 #919B35 #B6C24B

Accessibility & contrast

On white

5.56
#666D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#666D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D25
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D25#FFFFFF#000000##FFFFFF
##666D251.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75681C
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#6D675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d25;
/* rgb */ color: rgb(102, 109, 37);
/* oklch */ color: oklch(51.3% 0.095 114.5);
Tailwind
colors: {
  custom: {
    50: '#949663',
    500: '#666d25',
    950: '#000000',
  },
}
SCSS
$custom: #666d25;
$custom-light: #949663;
$custom-dark: #000000;
JSON
{
  "hex": "#666d25",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 37
  },
  "hsl": {
    "h": 65.833,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51339,
    "c": 0.09516,
    "h": 114.5
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#666D25
secondary
#564EA0
accent
#4FD95C
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #666D25

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

Preview Lab → · Contrast checker → · Palette generator →

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