#76771F#76771F

#76771F is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.1% C 0.107 H 110.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#76771F
RGBrgb(118, 119, 31)
HSLhsl(61, 59%, 29%)
HSVhsv(61, 74%, 47%)
CMYKcmyk(0.8%, 0%, 73.9%, 53.3%)
CIE-LABlab(48.44, -11.74, 45.46)
CIE-LCHlch(48.44, 46.95, 104.48°)
OKLaboklab(55.15% -0.0369 0.1007)
OKLCHoklch(55.15% 0.107 110.1)
XYZxyz(14.3159, 17.1445, 3.8512)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76771F #201F77
analogous
#774C1F #76771F #4A771F
triadic
#76771F #1F7677 #771F76
tetradic
#76771F #1F774C #201F77 #771F4A
square
#76771F #1F774C #201F77 #771F4A
split-complementary
#76771F #1F4A77 #4C1F77
monochromatic
#181806 #464612 #76771F #A6A82C #CCCE43

Accessibility & contrast

On white

4.74
#76771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#76771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #76771F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76771F#FFFFFF#000000##FFFFFF
##76771F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#827426
Tritanopia (blue-blind)
#7F6F66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #76771f;
/* rgb */ color: rgb(118, 119, 31);
/* oklch */ color: oklch(55.1% 0.107 110.1);
Tailwind
colors: {
  custom: {
    50: '#a09e61',
    500: '#76771f',
    950: '#000000',
  },
}
SCSS
$custom: #76771f;
$custom-light: #a09e61;
$custom-dark: #000000;
JSON
{
  "hex": "#76771f",
  "rgb": {
    "r": 118,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 60.682,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.10728,
    "h": 110.1
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

primary
#76771F
secondary
#4847AB
accent
#46E248
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #76771F

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

Preview Lab → · Contrast checker → · Palette generator →

#76771F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva