#766816#766816

#766816 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.6% C 0.098 H 98.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#766816
RGBrgb(118, 104, 22)
HSLhsl(51, 69%, 27%)
HSVhsv(51, 81%, 46%)
CMYKcmyk(0%, 11.9%, 81.4%, 53.7%)
CIE-LABlab(43.96, -3.73, 44.61)
CIE-LCHlch(43.96, 44.77, 94.78°)
OKLaboklab(51.57% -0.0153 0.0971)
OKLCHoklch(51.57% 0.098 98.9)
XYZxyz(12.5670, 13.8107, 2.7627)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766816 #162476
analogous
#763816 #766816 #547616
triadic
#766816 #167668 #681676
tetradic
#766816 #167638 #162476 #761654
square
#766816 #167638 #162476 #761654
split-complementary
#766816 #165476 #381676
monochromatic
#1A1705 #423B0C #766816 #AA9520 #D8BF2E

Accessibility & contrast

On white

5.58
#766816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#766816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766816
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766816#FFFFFF#000000##FFFFFF
##7668161.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#776A1C
Tritanopia (blue-blind)
#806059
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #766816;
/* rgb */ color: rgb(118, 104, 22);
/* oklch */ color: oklch(51.6% 0.098 98.9);
Tailwind
colors: {
  custom: {
    50: '#a1925b',
    500: '#766816',
    950: '#000000',
  },
}
SCSS
$custom: #766816;
$custom-light: #a1925b;
$custom-dark: #000000;
JSON
{
  "hex": "#766816",
  "rgb": {
    "r": 118,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 51.25,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.09831,
    "h": 98.9
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#766816
secondary
#3C4CAC
accent
#56EB3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #766816

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

Preview Lab → · Contrast checker → · Palette generator →

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