#666830#666830

#666830 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.078 H 110.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#666830
RGBrgb(102, 104, 48)
HSLhsl(62, 37%, 30%)
HSVhsv(62, 54%, 41%)
CMYKcmyk(1.9%, 0%, 53.8%, 59.2%)
CIE-LABlab(42.67, -9.50, 30.92)
CIE-LCHlch(42.67, 32.35, 107.08°)
OKLaboklab(50.25% -0.0276 0.0729)
OKLCHoklch(50.25% 0.078 110.7)
XYZxyz(10.9635, 12.9390, 4.7157)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666830 #323068
analogous
#684E30 #666830 #4A6830
triadic
#666830 #306668 #683066
tetradic
#666830 #30684E #323068 #68304A
square
#666830 #30684E #323068 #68304A
split-complementary
#666830 #304A68 #4E3068
monochromatic
#15150A #3D3E1D #666830 #8F9243 #B1B55E

Accessibility & contrast

On white

5.85
#666830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#666830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666830
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666830#FFFFFF#000000##FFFFFF
##6668301.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F642B
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#6C625B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #666830;
/* rgb */ color: rgb(102, 104, 48);
/* oklch */ color: oklch(50.2% 0.078 110.7);
Tailwind
colors: {
  custom: {
    50: '#93936a',
    500: '#666830',
    950: '#000000',
  },
}
SCSS
$custom: #666830;
$custom-light: #93936a;
$custom-dark: #000000;
JSON
{
  "hex": "#666830",
  "rgb": {
    "r": 102,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 62.143,
    "s": 36.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.07791,
    "h": 110.7
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#666830
secondary
#5D5A99
accent
#5BCD5F
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666830

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

Preview Lab → · Contrast checker → · Palette generator →

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