#766B16#766B16

#766B16 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.3% C 0.101 H 101.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#766B16
RGBrgb(118, 107, 22)
HSLhsl(53, 69%, 27%)
HSVhsv(53, 81%, 46%)
CMYKcmyk(0%, 9.3%, 81.4%, 53.7%)
CIE-LABlab(44.84, -5.45, 45.40)
CIE-LCHlch(44.84, 45.73, 96.84°)
OKLaboklab(52.26% -0.0201 0.0988)
OKLCHoklch(52.26% 0.101 101.5)
XYZxyz(12.8743, 14.4255, 2.8652)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766B16 #162176
analogous
#763B16 #766B16 #517616
triadic
#766B16 #16766B #6B1676
tetradic
#766B16 #16763B #162176 #761651
square
#766B16 #16763B #162176 #761651
split-complementary
#766B16 #165176 #3B1676
monochromatic
#1A1705 #423C0C #766B16 #AA9A20 #D8C52E

Accessibility & contrast

On white

5.41
#766B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#766B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766B16
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766B16#FFFFFF#000000##FFFFFF
##766B161.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766802
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#80635B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #766b16;
/* rgb */ color: rgb(118, 107, 22);
/* oklch */ color: oklch(52.3% 0.101 101.5);
Tailwind
colors: {
  custom: {
    50: '#a1955b',
    500: '#766b16',
    950: '#000000',
  },
}
SCSS
$custom: #766b16;
$custom-light: #a1955b;
$custom-dark: #000000;
JSON
{
  "hex": "#766b16",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 53.125,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52261,
    "c": 0.10084,
    "h": 101.5
  },
  "luminance": 0.14425
}

Semantic roles & 50–950 ramp

primary
#766B16
secondary
#3C49AC
accent
#50EB3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766B16

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

Preview Lab → · Contrast checker → · Palette generator →

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