#766F12#766F12

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

Color values

HEX#766F12
RGBrgb(118, 111, 18)
HSLhsl(56, 74%, 27%)
HSVhsv(56, 85%, 46%)
CMYKcmyk(0%, 5.9%, 84.7%, 53.7%)
CIE-LABlab(45.99, -7.86, 47.72)
CIE-LCHlch(45.99, 48.36, 99.36°)
OKLaboklab(53.18% -0.0273 0.103)
OKLCHoklch(53.18% 0.107 104.8)
XYZxyz(13.2654, 15.2646, 2.8198)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766F12 #121976
analogous
#763D12 #766F12 #4B7612
triadic
#766F12 #12766F #6F1276
tetradic
#766F12 #12763D #121976 #76124B
square
#766F12 #12763D #121976 #76124B
split-complementary
#766F12 #124B76 #3D1276
monochromatic
#1B1904 #413D0A #766F12 #ABA11A #DED125

Accessibility & contrast

On white

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

On black

4.05
#766F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##766F12#FFFFFF#000000##FFFFFF
##766F121.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7C6F1A
Tritanopia (blue-blind)
#80675E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #766f12;
/* rgb */ color: rgb(118, 111, 18);
/* oklch */ color: oklch(53.2% 0.106 104.8);
Tailwind
colors: {
  custom: {
    50: '#a1985a',
    500: '#766f12',
    950: '#000000',
  },
}
SCSS
$custom: #766f12;
$custom-light: #a1985a;
$custom-dark: #000000;
JSON
{
  "hex": "#766f12",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 55.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.1065,
    "h": 104.8
  },
  "luminance": 0.15264
}

Semantic roles & 50–950 ramp

primary
#766F12
secondary
#373FAD
accent
#45F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766F12

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

Preview Lab → · Contrast checker → · Palette generator →

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