#666A25#666A25

#666A25 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.091 H 112.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#666A25
RGBrgb(102, 106, 37)
HSLhsl(63, 48%, 28%)
HSVhsv(63, 65%, 42%)
CMYKcmyk(3.8%, 0%, 65.1%, 58.4%)
CIE-LABlab(43.16, -11.59, 37.03)
CIE-LCHlch(43.16, 38.80, 107.37°)
OKLaboklab(50.6% -0.0348 0.0845)
OKLCHoklch(50.6% 0.091 112.4)
XYZxyz(10.9677, 13.2667, 3.7329)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A25 #29256A
analogous
#6A4B25 #666A25 #436A25
triadic
#666A25 #25666A #6A2566
tetradic
#666A25 #256A4B #29256A #6A2543
square
#666A25 #256A4B #29256A #6A2543
split-complementary
#666A25 #25436A #4B256A
monochromatic
#161708 #3A3D15 #666A25 #929735 #B9C04A

Accessibility & contrast

On white

5.75
#666A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#666A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A25
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A25#FFFFFF#000000##FFFFFF
##666A251.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651D
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#6D645C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a25;
/* rgb */ color: rgb(102, 106, 37);
/* oklch */ color: oklch(50.6% 0.091 112.4);
Tailwind
colors: {
  custom: {
    50: '#949463',
    500: '#666a25',
    950: '#000000',
  },
}
SCSS
$custom: #666a25;
$custom-light: #949463;
$custom-dark: #000000;
JSON
{
  "hex": "#666a25",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 37
  },
  "hsl": {
    "h": 63.478,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50602,
    "c": 0.0914,
    "h": 112.4
  },
  "luminance": 0.13266
}

Semantic roles & 50–950 ramp

primary
#666A25
secondary
#524E9D
accent
#50D858
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #666A25

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

Preview Lab → · Contrast checker → · Palette generator →

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