#766628#766628

#766628 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.3% C 0.084 H 94.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#766628
RGBrgb(118, 102, 40)
HSLhsl(48, 49%, 31%)
HSVhsv(48, 66%, 46%)
CMYKcmyk(0%, 13.6%, 66.1%, 53.7%)
CIE-LABlab(43.52, -1.56, 36.41)
CIE-LCHlch(43.52, 36.44, 92.45°)
OKLaboklab(51.26% -0.0069 0.0832)
OKLCHoklch(51.26% 0.084 94.8)
XYZxyz(12.6062, 13.5081, 3.9504)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766628 #283876
analogous
#763F28 #766628 #5F7628
triadic
#766628 #287666 #662876
tetradic
#766628 #28763F #283876 #76285F
square
#766628 #28763F #283876 #76285F
split-complementary
#766628 #285F76 #3F2876
monochromatic
#1B1709 #483E19 #766628 #A48E37 #C5AE54

Accessibility & contrast

On white

5.67
#766628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#766628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766628
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766628#FFFFFF#000000##FFFFFF
##7666281.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706421
Deuteranopia (green-blind)
#74692B
Tritanopia (blue-blind)
#7F5E59
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #766628;
/* rgb */ color: rgb(118, 102, 40);
/* oklch */ color: oklch(51.3% 0.084 94.8);
Tailwind
colors: {
  custom: {
    50: '#a09165',
    500: '#766628',
    950: '#000000',
  },
}
SCSS
$custom: #766628;
$custom-light: #a09165;
$custom-dark: #000000;
JSON
{
  "hex": "#766628",
  "rgb": {
    "r": 118,
    "g": 102,
    "b": 40
  },
  "hsl": {
    "h": 47.692,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5126,
    "c": 0.08351,
    "h": 94.8
  },
  "luminance": 0.13507
}

Semantic roles & 50–950 ramp

primary
#766628
secondary
#5263A8
accent
#6BD94F
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C06
muted
#7F7D7A

Preview Lab

Preview with #766628

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

Preview Lab → · Contrast checker → · Palette generator →

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