#766C16#766C16

#766C16 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.5% C 0.102 H 102.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#766C16
RGBrgb(118, 108, 22)
HSLhsl(54, 69%, 27%)
HSVhsv(54, 81%, 46%)
CMYKcmyk(0%, 8.5%, 81.4%, 53.7%)
CIE-LABlab(45.13, -6.02, 45.67)
CIE-LCHlch(45.13, 46.06, 97.50°)
OKLaboklab(52.49% -0.0217 0.0994)
OKLCHoklch(52.49% 0.102 102.3)
XYZxyz(12.9792, 14.6352, 2.9001)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766C16 #162076
analogous
#763C16 #766C16 #507616
triadic
#766C16 #16766C #6C1676
tetradic
#766C16 #16763C #162076 #761650
square
#766C16 #16763C #162076 #761650
split-complementary
#766C16 #165076 #3C1676
monochromatic
#1A1805 #423D0C #766C16 #AA9B20 #D8C62E

Accessibility & contrast

On white

5.35
#766C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#766C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766C16
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766C16#FFFFFF#000000##FFFFFF
##766C161.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776802
Deuteranopia (green-blind)
#7A6D1D
Tritanopia (blue-blind)
#80645C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #766c16;
/* rgb */ color: rgb(118, 108, 22);
/* oklch */ color: oklch(52.5% 0.102 102.3);
Tailwind
colors: {
  custom: {
    50: '#a1955c',
    500: '#766c16',
    950: '#000000',
  },
}
SCSS
$custom: #766c16;
$custom-light: #a1955c;
$custom-dark: #000000;
JSON
{
  "hex": "#766c16",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 53.75,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.10173,
    "h": 102.3
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#766C16
secondary
#3C48AC
accent
#4FEB3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766C16

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

Preview Lab → · Contrast checker → · Palette generator →

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