#766916#766916

#766916 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.8% C 0.099 H 99.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#766916
RGBrgb(118, 105, 22)
HSLhsl(52, 69%, 27%)
HSVhsv(52, 81%, 46%)
CMYKcmyk(0%, 11%, 81.4%, 53.7%)
CIE-LABlab(44.25, -4.30, 44.87)
CIE-LCHlch(44.25, 45.08, 95.48°)
OKLaboklab(51.8% -0.0169 0.0977)
OKLCHoklch(51.8% 0.099 99.8)
XYZxyz(12.6682, 14.0133, 2.7965)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766916 #162376
analogous
#763916 #766916 #537616
triadic
#766916 #167669 #691676
tetradic
#766916 #167639 #162376 #761653
square
#766916 #167639 #162376 #761653
split-complementary
#766916 #165376 #391676
monochromatic
#1A1705 #423B0C #766916 #AA9720 #D8C12E

Accessibility & contrast

On white

5.52
#766916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#766916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766916
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766916#FFFFFF#000000##FFFFFF
##7669161.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#806159
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #766916;
/* rgb */ color: rgb(118, 105, 22);
/* oklch */ color: oklch(51.8% 0.099 99.8);
Tailwind
colors: {
  custom: {
    50: '#a1935b',
    500: '#766916',
    950: '#000000',
  },
}
SCSS
$custom: #766916;
$custom-light: #a1935b;
$custom-dark: #000000;
JSON
{
  "hex": "#766916",
  "rgb": {
    "r": 118,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 51.875,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51796,
    "c": 0.09913,
    "h": 99.8
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

primary
#766916
secondary
#3C4BAC
accent
#54EB3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766916

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

Preview Lab → · Contrast checker → · Palette generator →

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