#766712#766712

#766712 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.3% C 0.100 H 98.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#766712
RGBrgb(118, 103, 18)
HSLhsl(51, 74%, 27%)
HSVhsv(51, 85%, 46%)
CMYKcmyk(0%, 12.7%, 84.7%, 53.7%)
CIE-LABlab(43.65, -3.30, 45.68)
CIE-LCHlch(43.65, 45.80, 94.14°)
OKLaboklab(51.31% -0.0145 0.0986)
OKLCHoklch(51.31% 0.1 98.4)
XYZxyz(12.4313, 13.5964, 2.5417)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766712 #122176
analogous
#763512 #766712 #537612
triadic
#766712 #127667 #671276
tetradic
#766712 #127635 #122176 #761253
square
#766712 #127635 #122176 #761253
split-complementary
#766712 #125376 #351276
monochromatic
#1B1704 #41390A #766712 #AB951A #DEC225

Accessibility & contrast

On white

5.65
#766712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#766712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766712
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766712#FFFFFF#000000##FFFFFF
##7667121.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#766919
Tritanopia (blue-blind)
#805E58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #766712;
/* rgb */ color: rgb(118, 103, 18);
/* oklch */ color: oklch(51.3% 0.100 98.4);
Tailwind
colors: {
  custom: {
    50: '#a19259',
    500: '#766712',
    950: '#000000',
  },
}
SCSS
$custom: #766712;
$custom-light: #a19259;
$custom-dark: #000000;
JSON
{
  "hex": "#766712",
  "rgb": {
    "r": 118,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 51,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.09961,
    "h": 98.4
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#766712
secondary
#3749AD
accent
#53F038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766712

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

Preview Lab → · Contrast checker → · Palette generator →

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