#666E30#666E30

#666E30 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.7% C 0.086 H 115.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#666E30
RGBrgb(102, 110, 48)
HSLhsl(68, 39%, 31%)
HSVhsv(68, 56%, 43%)
CMYKcmyk(7.3%, 0%, 56.4%, 56.9%)
CIE-LABlab(44.50, -12.86, 33.06)
CIE-LCHlch(44.50, 35.47, 111.25°)
OKLaboklab(51.71% -0.0371 0.0775)
OKLCHoklch(51.71% 0.086 115.6)
XYZxyz(11.5891, 14.1902, 4.9242)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E30 #38306E
analogous
#6E5730 #666E30 #476E30
triadic
#666E30 #30666E #6E3066
tetradic
#666E30 #306E57 #38306E #6E3047
square
#666E30 #306E57 #38306E #6E3047
split-complementary
#666E30 #30476E #57306E
monochromatic
#17190B #3E431D #666E30 #8E9943 #AEB95F

Accessibility & contrast

On white

5.47
#666E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#666E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666E30
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E30#FFFFFF#000000##FFFFFF
##666E301.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692A
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#6C6860
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e30;
/* rgb */ color: rgb(102, 110, 48);
/* oklch */ color: oklch(51.7% 0.086 115.6);
Tailwind
colors: {
  custom: {
    50: '#93976a',
    500: '#666e30',
    950: '#000000',
  },
}
SCSS
$custom: #666e30;
$custom-light: #93976a;
$custom-dark: #000000;
JSON
{
  "hex": "#666e30",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 48
  },
  "hsl": {
    "h": 67.742,
    "s": 39.241,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51713,
    "c": 0.08593,
    "h": 115.6
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#666E30
secondary
#635B9F
accent
#59CF68
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666E30

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

Preview Lab → · Contrast checker → · Palette generator →

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