#766716#766716

#766716 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.3% C 0.098 H 98.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#766716
RGBrgb(118, 103, 22)
HSLhsl(51, 69%, 27%)
HSVhsv(51, 81%, 46%)
CMYKcmyk(0%, 12.7%, 81.4%, 53.7%)
CIE-LABlab(43.67, -3.15, 44.35)
CIE-LCHlch(43.67, 44.46, 94.06°)
OKLaboklab(51.33% -0.0137 0.0966)
OKLCHoklch(51.33% 0.098 98.1)
XYZxyz(12.4669, 13.6106, 2.7293)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766716 #162576
analogous
#763716 #766716 #557616
triadic
#766716 #167667 #671676
tetradic
#766716 #167637 #162576 #761655
square
#766716 #167637 #162576 #761655
split-complementary
#766716 #165576 #371676
monochromatic
#1A1705 #423A0C #766716 #AA9420 #D8BE2E

Accessibility & contrast

On white

5.64
#766716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#766716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766716
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766716#FFFFFF#000000##FFFFFF
##7667161.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#805F58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #766716;
/* rgb */ color: rgb(118, 103, 22);
/* oklch */ color: oklch(51.3% 0.098 98.1);
Tailwind
colors: {
  custom: {
    50: '#a1925b',
    500: '#766716',
    950: '#000000',
  },
}
SCSS
$custom: #766716;
$custom-light: #a1925b;
$custom-dark: #000000;
JSON
{
  "hex": "#766716",
  "rgb": {
    "r": 118,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 50.625,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51334,
    "c": 0.09751,
    "h": 98.1
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#766716
secondary
#3C4EAC
accent
#58EB3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766716

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

Preview Lab → · Contrast checker → · Palette generator →

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