#766512#766512

#766512 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.9% C 0.098 H 96.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#766512
RGBrgb(118, 101, 18)
HSLhsl(50, 74%, 27%)
HSVhsv(50, 85%, 46%)
CMYKcmyk(0%, 14.4%, 84.7%, 53.7%)
CIE-LABlab(43.07, -2.15, 45.18)
CIE-LCHlch(43.07, 45.23, 92.72°)
OKLaboklab(50.85% -0.0112 0.0975)
OKLCHoklch(50.85% 0.098 96.6)
XYZxyz(12.2347, 13.2033, 2.4762)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766512 #122376
analogous
#763312 #766512 #557612
triadic
#766512 #127665 #651276
tetradic
#766512 #127633 #122376 #761255
square
#766512 #127633 #122376 #761255
split-complementary
#766512 #125576 #331276
monochromatic
#1B1704 #41380A #766512 #AB921A #DEBE25

Accessibility & contrast

On white

5.77
#766512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#766512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766512
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766512#FFFFFF#000000##FFFFFF
##7665121.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706300
Deuteranopia (green-blind)
#756818
Tritanopia (blue-blind)
#805C56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #766512;
/* rgb */ color: rgb(118, 101, 18);
/* oklch */ color: oklch(50.9% 0.098 96.6);
Tailwind
colors: {
  custom: {
    50: '#a19059',
    500: '#766512',
    950: '#000000',
  },
}
SCSS
$custom: #766512;
$custom-light: #a19059;
$custom-dark: #000000;
JSON
{
  "hex": "#766512",
  "rgb": {
    "r": 118,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 49.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.0981,
    "h": 96.6
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#766512
secondary
#374BAD
accent
#57F038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766512

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

Preview Lab → · Contrast checker → · Palette generator →

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