#766612#766612

#766612 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.1% C 0.099 H 97.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#766612
RGBrgb(118, 102, 18)
HSLhsl(50, 74%, 27%)
HSVhsv(50, 85%, 46%)
CMYKcmyk(0%, 13.6%, 84.7%, 53.7%)
CIE-LABlab(43.36, -2.72, 45.43)
CIE-LCHlch(43.36, 45.51, 93.43°)
OKLaboklab(51.08% -0.0128 0.098)
OKLCHoklch(51.08% 0.099 97.5)
XYZxyz(12.3324, 13.3986, 2.5088)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766612 #122276
analogous
#763412 #766612 #547612
triadic
#766612 #127666 #661276
tetradic
#766612 #127634 #122276 #761254
square
#766612 #127634 #122276 #761254
split-complementary
#766612 #125476 #341276
monochromatic
#1B1704 #41380A #766612 #AB941A #DEC025

Accessibility & contrast

On white

5.71
#766612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#766612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766612
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766612#FFFFFF#000000##FFFFFF
##7666121.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#756918
Tritanopia (blue-blind)
#805D57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #766612;
/* rgb */ color: rgb(118, 102, 18);
/* oklch */ color: oklch(51.1% 0.099 97.5);
Tailwind
colors: {
  custom: {
    50: '#a19159',
    500: '#766612',
    950: '#000000',
  },
}
SCSS
$custom: #766612;
$custom-light: #a19159;
$custom-dark: #000000;
JSON
{
  "hex": "#766612",
  "rgb": {
    "r": 118,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 50.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.09884,
    "h": 97.5
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#766612
secondary
#374AAD
accent
#55F038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766612

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

Preview Lab → · Contrast checker → · Palette generator →

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