#7D771A#7D771A

#7D771A is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.109 H 105.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D771A
RGBrgb(125, 119, 26)
HSLhsl(56, 66%, 30%)
HSVhsv(56, 79%, 49%)
CMYKcmyk(0%, 4.8%, 79.2%, 51%)
CIE-LABlab(49.04, -8.71, 48.09)
CIE-LCHlch(49.04, 48.87, 100.27°)
OKLaboklab(55.77% -0.0293 0.1051)
OKLCHoklch(55.77% 0.109 105.6)
XYZxyz(15.2414, 17.6288, 3.5769)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D771A #1A207D
analogous
#7D461A #7D771A #517D1A
triadic
#7D771A #1A7D77 #771A7D
tetradic
#7D771A #1A7D46 #1A207D #7D1A51
square
#7D771A #1A7D46 #1A207D #7D1A51
split-complementary
#7D771A #1A517D #461A7D
monochromatic
#191805 #4A470F #7D771A #B0A725 #D6CD3B

Accessibility & contrast

On white

4.64
#7D771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7D771A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D771A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D771A#FFFFFF#000000##FFFFFF
##7D771A1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#876E66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d771a;
/* rgb */ color: rgb(125, 119, 26);
/* oklch */ color: oklch(55.8% 0.109 105.6);
Tailwind
colors: {
  custom: {
    50: '#a69d5f',
    500: '#7d771a',
    950: '#000000',
  },
}
SCSS
$custom: #7d771a;
$custom-light: #a69d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d771a",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 56.364,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55773,
    "c": 0.10907,
    "h": 105.6
  },
  "luminance": 0.17628
}

Semantic roles & 50–950 ramp

primary
#7D771A
secondary
#4248B1
accent
#4AE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D771A

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

Preview Lab → · Contrast checker → · Palette generator →

#7D771A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva