#766412#766412

#766412 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.6% C 0.097 H 95.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#766412
RGBrgb(118, 100, 18)
HSLhsl(49, 74%, 27%)
HSVhsv(49, 85%, 46%)
CMYKcmyk(0%, 15.3%, 84.7%, 53.7%)
CIE-LABlab(42.78, -1.56, 44.93)
CIE-LCHlch(42.78, 44.95, 91.99°)
OKLaboklab(50.62% -0.0096 0.0969)
OKLCHoklch(50.62% 0.097 95.6)
XYZxyz(12.1382, 13.0103, 2.4440)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766412 #122476
analogous
#763212 #766412 #567612
triadic
#766412 #127664 #641276
tetradic
#766412 #127632 #122476 #761256
square
#766412 #127632 #122476 #761256
split-complementary
#766412 #125676 #321276
monochromatic
#1B1604 #41370A #766412 #AB911A #DEBC25

Accessibility & contrast

On white

5.83
#766412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#766412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766412
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766412#FFFFFF#000000##FFFFFF
##7664121.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#746718
Tritanopia (blue-blind)
#805B55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #766412;
/* rgb */ color: rgb(118, 100, 18);
/* oklch */ color: oklch(50.6% 0.097 95.6);
Tailwind
colors: {
  custom: {
    50: '#a18f59',
    500: '#766412',
    950: '#000000',
  },
}
SCSS
$custom: #766412;
$custom-light: #a18f59;
$custom-dark: #000000;
JSON
{
  "hex": "#766412",
  "rgb": {
    "r": 118,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 49.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50622,
    "c": 0.09738,
    "h": 95.6
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#766412
secondary
#374CAD
accent
#59F038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766412

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

Preview Lab → · Contrast checker → · Palette generator →

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