#666D30#666D30

#666D30 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.5% C 0.085 H 114.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#666D30
RGBrgb(102, 109, 48)
HSLhsl(67, 39%, 31%)
HSVhsv(67, 56%, 43%)
CMYKcmyk(6.4%, 0%, 56%, 57.3%)
CIE-LABlab(44.20, -12.30, 32.71)
CIE-LCHlch(44.20, 34.94, 110.62°)
OKLaboklab(51.47% -0.0355 0.0767)
OKLCHoklch(51.47% 0.085 114.9)
XYZxyz(11.4818, 13.9756, 4.8884)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D30 #37306D
analogous
#6D5530 #666D30 #476D30
triadic
#666D30 #30666D #6D3066
tetradic
#666D30 #306D55 #37306D #6D3047
square
#666D30 #306D55 #37306D #6D3047
split-complementary
#666D30 #30476D #55306D
monochromatic
#16180B #3E431D #666D30 #8E9743 #AEB85F

Accessibility & contrast

On white

5.53
#666D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#666D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D30
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D30#FFFFFF#000000##FFFFFF
##666D301.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#6C675F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d30;
/* rgb */ color: rgb(102, 109, 48);
/* oklch */ color: oklch(51.5% 0.085 114.9);
Tailwind
colors: {
  custom: {
    50: '#93966a',
    500: '#666d30',
    950: '#000000',
  },
}
SCSS
$custom: #666d30;
$custom-light: #93966a;
$custom-dark: #000000;
JSON
{
  "hex": "#666d30",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 48
  },
  "hsl": {
    "h": 66.885,
    "s": 38.854,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51468,
    "c": 0.08456,
    "h": 114.9
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#666D30
secondary
#625B9E
accent
#59CF67
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666D30

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

Preview Lab → · Contrast checker → · Palette generator →

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