#766A16#766A16

#766A16 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.0% C 0.100 H 100.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#766A16
RGBrgb(118, 106, 22)
HSLhsl(53, 69%, 27%)
HSVhsv(53, 81%, 46%)
CMYKcmyk(0%, 10.2%, 81.4%, 53.7%)
CIE-LABlab(44.54, -4.87, 45.14)
CIE-LCHlch(44.54, 45.40, 96.16°)
OKLaboklab(52.03% -0.0185 0.0983)
OKLCHoklch(52.03% 0.1 100.7)
XYZxyz(12.7707, 14.2182, 2.8306)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766A16 #162276
analogous
#763A16 #766A16 #527616
triadic
#766A16 #16766A #6A1676
tetradic
#766A16 #16763A #162276 #761652
square
#766A16 #16763A #162276 #761652
split-complementary
#766A16 #165276 #3A1676
monochromatic
#1A1705 #423C0C #766A16 #AA9820 #D8C32E

Accessibility & contrast

On white

5.46
#766A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#766A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766A16
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766A16#FFFFFF#000000##FFFFFF
##766A161.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#80625A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #766a16;
/* rgb */ color: rgb(118, 106, 22);
/* oklch */ color: oklch(52.0% 0.100 100.7);
Tailwind
colors: {
  custom: {
    50: '#a1945b',
    500: '#766a16',
    950: '#000000',
  },
}
SCSS
$custom: #766a16;
$custom-light: #a1945b;
$custom-dark: #000000;
JSON
{
  "hex": "#766a16",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 52.5,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.09998,
    "h": 100.7
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#766A16
secondary
#3C4AAC
accent
#52EB3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766A16

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

Preview Lab → · Contrast checker → · Palette generator →

#766A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva