#766812#766812

#766812 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.5% C 0.100 H 99.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#766812
RGBrgb(118, 104, 18)
HSLhsl(52, 74%, 27%)
HSVhsv(52, 85%, 46%)
CMYKcmyk(0%, 11.9%, 84.7%, 53.7%)
CIE-LABlab(43.94, -3.88, 45.94)
CIE-LCHlch(43.94, 46.10, 94.83°)
OKLaboklab(51.54% -0.0161 0.0991)
OKLCHoklch(51.54% 0.1 99.2)
XYZxyz(12.5314, 13.7965, 2.5751)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766812 #122076
analogous
#763612 #766812 #527612
triadic
#766812 #127668 #681276
tetradic
#766812 #127636 #122076 #761252
square
#766812 #127636 #122076 #761252
split-complementary
#766812 #125276 #361276
monochromatic
#1B1704 #41390A #766812 #AB971A #DEC425

Accessibility & contrast

On white

5.59
#766812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#766812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766812
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766812#FFFFFF#000000##FFFFFF
##7668121.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#776A19
Tritanopia (blue-blind)
#805F58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #766812;
/* rgb */ color: rgb(118, 104, 18);
/* oklch */ color: oklch(51.5% 0.100 99.2);
Tailwind
colors: {
  custom: {
    50: '#a19259',
    500: '#766812',
    950: '#000000',
  },
}
SCSS
$custom: #766812;
$custom-light: #a19259;
$custom-dark: #000000;
JSON
{
  "hex": "#766812",
  "rgb": {
    "r": 118,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 51.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51542,
    "c": 0.1004,
    "h": 99.2
  },
  "luminance": 0.13796
}

Semantic roles & 50–950 ramp

primary
#766812
secondary
#3748AD
accent
#51F038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #766812

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

Preview Lab → · Contrast checker → · Palette generator →

#766812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva