#766C12#766C12

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

Color values

HEX#766C12
RGBrgb(118, 108, 18)
HSLhsl(54, 74%, 27%)
HSVhsv(54, 85%, 46%)
CMYKcmyk(0%, 8.5%, 84.7%, 53.7%)
CIE-LABlab(45.11, -6.17, 46.95)
CIE-LCHlch(45.11, 47.35, 97.48°)
OKLaboklab(52.47% -0.0225 0.1013)
OKLCHoklch(52.47% 0.104 102.5)
XYZxyz(12.9436, 14.6209, 2.7125)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766C12 #121C76
analogous
#763A12 #766C12 #4E7612
triadic
#766C12 #12766C #6C1276
tetradic
#766C12 #12763A #121C76 #76124E
square
#766C12 #12763A #121C76 #76124E
split-complementary
#766C12 #124E76 #3A1276
monochromatic
#1B1804 #413B0A #766C12 #AB9D1A #DECB25

Accessibility & contrast

On white

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

On black

3.92
#766C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##766C12#FFFFFF#000000##FFFFFF
##766C121.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #766c12;
/* rgb */ color: rgb(118, 108, 18);
/* oklch */ color: oklch(52.5% 0.104 102.5);
Tailwind
colors: {
  custom: {
    50: '#a1955a',
    500: '#766c12',
    950: '#000000',
  },
}
SCSS
$custom: #766c12;
$custom-light: #a1955a;
$custom-dark: #000000;
JSON
{
  "hex": "#766c12",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 54,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52472,
    "c": 0.10377,
    "h": 102.5
  },
  "luminance": 0.1462
}

Semantic roles & 50–950 ramp

primary
#766C12
secondary
#3743AD
accent
#4AF038
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766C12

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

Preview Lab → · Contrast checker → · Palette generator →

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