#766F16#766F16

#766F16 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.2% C 0.105 H 104.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#766F16
RGBrgb(118, 111, 22)
HSLhsl(56, 69%, 27%)
HSVhsv(56, 81%, 46%)
CMYKcmyk(0%, 5.9%, 81.4%, 53.7%)
CIE-LABlab(46.01, -7.71, 46.46)
CIE-LCHlch(46.01, 47.10, 99.42°)
OKLaboklab(53.2% -0.0265 0.1011)
OKLCHoklch(53.2% 0.105 104.7)
XYZxyz(13.3011, 15.2789, 3.0074)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766F16 #161D76
analogous
#763F16 #766F16 #4D7616
triadic
#766F16 #16766F #6F1676
tetradic
#766F16 #16763F #161D76 #76164D
square
#766F16 #16763F #161D76 #76164D
split-complementary
#766F16 #164D76 #3F1676
monochromatic
#1A1805 #423E0C #766F16 #AAA020 #D8CC2E

Accessibility & contrast

On white

5.18
#766F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#766F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766F16
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766F16#FFFFFF#000000##FFFFFF
##766F161.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7C6F1D
Tritanopia (blue-blind)
#7F675F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #766f16;
/* rgb */ color: rgb(118, 111, 22);
/* oklch */ color: oklch(53.2% 0.105 104.7);
Tailwind
colors: {
  custom: {
    50: '#a1985c',
    500: '#766f16',
    950: '#000000',
  },
}
SCSS
$custom: #766f16;
$custom-light: #a1985c;
$custom-dark: #000000;
JSON
{
  "hex": "#766f16",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 55.625,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53197,
    "c": 0.10451,
    "h": 104.7
  },
  "luminance": 0.15278
}

Semantic roles & 50–950 ramp

primary
#766F16
secondary
#3C44AC
accent
#49EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766F16

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

Preview Lab → · Contrast checker → · Palette generator →

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