#766012#766012

#766012 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.7% C 0.095 H 91.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#766012
RGBrgb(118, 96, 18)
HSLhsl(47, 74%, 27%)
HSVhsv(47, 85%, 46%)
CMYKcmyk(0%, 18.6%, 84.7%, 53.7%)
CIE-LABlab(41.63, 0.78, 43.92)
CIE-LCHlch(41.63, 43.93, 88.99°)
OKLaboklab(49.71% -0.0029 0.0947)
OKLCHoklch(49.71% 0.095 91.8)
XYZxyz(11.7640, 12.2617, 2.3193)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766012 #122876
analogous
#762E12 #766012 #5A7612
triadic
#766012 #127660 #601276
tetradic
#766012 #12762E #122876 #76125A
square
#766012 #12762E #122876 #76125A
split-complementary
#766012 #125A76 #2E1276
monochromatic
#1B1604 #41350A #766012 #AB8B1A #DEB525

Accessibility & contrast

On white

6.08
#766012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#766012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766012
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766012#FFFFFF#000000##FFFFFF
##7660121.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#716517
Tritanopia (blue-blind)
#805752
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #766012;
/* rgb */ color: rgb(118, 96, 18);
/* oklch */ color: oklch(49.7% 0.095 91.8);
Tailwind
colors: {
  custom: {
    50: '#a18c58',
    500: '#766012',
    950: '#000000',
  },
}
SCSS
$custom: #766012;
$custom-light: #a18c58;
$custom-dark: #000000;
JSON
{
  "hex": "#766012",
  "rgb": {
    "r": 118,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 46.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49714,
    "c": 0.09478,
    "h": 91.8
  },
  "luminance": 0.12261
}

Semantic roles & 50–950 ramp

primary
#766012
secondary
#3751AD
accent
#60F038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766012

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

Preview Lab → · Contrast checker → · Palette generator →

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