#666914#666914

#666914 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.2% C 0.103 H 111.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#666914
RGBrgb(102, 105, 20)
HSLhsl(62, 68%, 25%)
HSVhsv(62, 81%, 41%)
CMYKcmyk(2.9%, 0%, 81%, 58.8%)
CIE-LABlab(42.73, -12.04, 43.63)
CIE-LCHlch(42.73, 45.26, 105.43°)
OKLaboklab(50.22% -0.0379 0.0953)
OKLCHoklch(50.22% 0.103 111.7)
XYZxyz(10.6577, 12.9787, 2.6054)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666914 #171469
analogous
#694214 #666914 #3B6914
triadic
#666914 #146669 #691466
tetradic
#666914 #146942 #171469 #69143B
square
#666914 #146942 #171469 #69143B
split-complementary
#666914 #143B69 #421469
monochromatic
#191A05 #34360A #666914 #989C1E #CAD028

Accessibility & contrast

On white

5.84
#666914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#666914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666914
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666914#FFFFFF#000000##FFFFFF
##6669141.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#6E6259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #666914;
/* rgb */ color: rgb(102, 105, 20);
/* oklch */ color: oklch(50.2% 0.103 111.7);
Tailwind
colors: {
  custom: {
    50: '#95935a',
    500: '#666914',
    950: '#000000',
  },
}
SCSS
$custom: #666914;
$custom-light: #95935a;
$custom-dark: #000000;
JSON
{
  "hex": "#666914",
  "rgb": {
    "r": 102,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 62.118,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.50218,
    "c": 0.10259,
    "h": 111.7
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#666914
secondary
#3C39A0
accent
#3DEB43
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666914

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

Preview Lab → · Contrast checker → · Palette generator →

#666914 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva