#766312#766312

#766312 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.4% C 0.097 H 94.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#766312
RGBrgb(118, 99, 18)
HSLhsl(49, 74%, 27%)
HSVhsv(49, 85%, 46%)
CMYKcmyk(0%, 16.1%, 84.7%, 53.7%)
CIE-LABlab(42.49, -0.98, 44.67)
CIE-LCHlch(42.49, 44.68, 91.26°)
OKLaboklab(50.39% -0.0079 0.0964)
OKLCHoklch(50.39% 0.097 94.7)
XYZxyz(12.0429, 12.8196, 2.4123)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766312 #122576
analogous
#763112 #766312 #577612
triadic
#766312 #127663 #631276
tetradic
#766312 #127631 #122576 #761257
square
#766312 #127631 #122576 #761257
split-complementary
#766312 #125776 #311276
monochromatic
#1B1604 #41360A #766312 #AB901A #DEBB25

Accessibility & contrast

On white

5.89
#766312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#766312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766312
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766312#FFFFFF#000000##FFFFFF
##7663121.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#736718
Tritanopia (blue-blind)
#805A54
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #766312;
/* rgb */ color: rgb(118, 99, 18);
/* oklch */ color: oklch(50.4% 0.097 94.7);
Tailwind
colors: {
  custom: {
    50: '#a18f59',
    500: '#766312',
    950: '#000000',
  },
}
SCSS
$custom: #766312;
$custom-light: #a18f59;
$custom-dark: #000000;
JSON
{
  "hex": "#766312",
  "rgb": {
    "r": 118,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 48.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.09668,
    "h": 94.7
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#766312
secondary
#374EAD
accent
#5BF038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766312

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

Preview Lab → · Contrast checker → · Palette generator →

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