#766D16#766D16

#766D16 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.7% C 0.103 H 103.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#766D16
RGBrgb(118, 109, 22)
HSLhsl(54, 69%, 27%)
HSVhsv(54, 81%, 46%)
CMYKcmyk(0%, 7.6%, 81.4%, 53.7%)
CIE-LABlab(45.42, -6.58, 45.93)
CIE-LCHlch(45.42, 46.40, 98.16°)
OKLaboklab(52.73% -0.0233 0.1)
OKLCHoklch(52.73% 0.103 103.1)
XYZxyz(13.0853, 14.8473, 2.9355)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766D16 #161F76
analogous
#763D16 #766D16 #4F7616
triadic
#766D16 #16766D #6D1676
tetradic
#766D16 #16763D #161F76 #76164F
square
#766D16 #16763D #161F76 #76164F
split-complementary
#766D16 #164F76 #3D1676
monochromatic
#1A1805 #423D0C #766D16 #AA9D20 #D8C82E

Accessibility & contrast

On white

5.29
#766D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#766D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766D16
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766D16#FFFFFF#000000##FFFFFF
##766D161.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786901
Deuteranopia (green-blind)
#7A6D1D
Tritanopia (blue-blind)
#80655D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #766d16;
/* rgb */ color: rgb(118, 109, 22);
/* oklch */ color: oklch(52.7% 0.103 103.1);
Tailwind
colors: {
  custom: {
    50: '#a1965c',
    500: '#766d16',
    950: '#000000',
  },
}
SCSS
$custom: #766d16;
$custom-light: #a1965c;
$custom-dark: #000000;
JSON
{
  "hex": "#766d16",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 54.375,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.10264,
    "h": 103.1
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#766D16
secondary
#3C47AC
accent
#4DEB3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766D16

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

Preview Lab → · Contrast checker → · Palette generator →

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