#76731B#76731B

#76731B is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.2% C 0.106 H 107.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#76731B
RGBrgb(118, 115, 27)
HSLhsl(58, 63%, 28%)
HSVhsv(58, 77%, 46%)
CMYKcmyk(0%, 2.5%, 77.1%, 53.7%)
CIE-LABlab(47.23, -9.73, 45.81)
CIE-LCHlch(47.23, 46.84, 101.99°)
OKLaboklab(54.17% -0.0317 0.1007)
OKLCHoklch(54.17% 0.106 107.5)
XYZxyz(13.8003, 16.1926, 3.4352)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76731B #1B1E76
analogous
#76451B #76731B #4B761B
triadic
#76731B #1B7673 #731B76
tetradic
#76731B #1B7645 #1B1E76 #761B4B
square
#76731B #1B7645 #1B1E76 #761B4B
split-complementary
#76731B #1B4B76 #451B76
monochromatic
#191806 #444210 #76731B #A8A426 #D2CD3A

Accessibility & contrast

On white

4.95
#76731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#76731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #76731B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76731B#FFFFFF#000000##FFFFFF
##76731B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E08
Deuteranopia (green-blind)
#7F7122
Tritanopia (blue-blind)
#7F6B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #76731b;
/* rgb */ color: rgb(118, 115, 27);
/* oklch */ color: oklch(54.2% 0.106 107.5);
Tailwind
colors: {
  custom: {
    50: '#a19b5f',
    500: '#76731b',
    950: '#000000',
  },
}
SCSS
$custom: #76731b;
$custom-light: #a19b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#76731b",
  "rgb": {
    "r": 118,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 58.022,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54172,
    "c": 0.10558,
    "h": 107.5
  },
  "luminance": 0.16192
}

Semantic roles & 50–950 ramp

primary
#76731B
secondary
#4246AA
accent
#47E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #76731B

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

Preview Lab → · Contrast checker → · Palette generator →

#76731B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva