#7A771D#7A771D

#7A771D is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.108 H 107.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7A771D
RGBrgb(122, 119, 29)
HSLhsl(58, 62%, 30%)
HSVhsv(58, 76%, 48%)
CMYKcmyk(0%, 2.5%, 76.2%, 52.2%)
CIE-LABlab(48.79, -9.98, 46.67)
CIE-LCHlch(48.79, 47.73, 102.07°)
OKLaboklab(55.51% -0.0324 0.1028)
OKLCHoklch(55.51% 0.108 107.5)
XYZxyz(14.8452, 17.4204, 3.7427)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A771D #1D207A
analogous
#7A491D #7A771D #4E7A1D
triadic
#7A771D #1D7A77 #771D7A
tetradic
#7A771D #1D7A49 #1D207A #7A1D4E
square
#7A771D #1D7A49 #1D207A #7A1D4E
split-complementary
#7A771D #1D4E7A #491D7A
monochromatic
#191806 #494711 #7A771D #ABA729 #D2CD40

Accessibility & contrast

On white

4.68
#7A771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7A771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A771D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A771D#FFFFFF#000000##FFFFFF
##7A771D1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720B
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#836F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a771d;
/* rgb */ color: rgb(122, 119, 29);
/* oklch */ color: oklch(55.5% 0.108 107.5);
Tailwind
colors: {
  custom: {
    50: '#a49e60',
    500: '#7a771d',
    950: '#000000',
  },
}
SCSS
$custom: #7a771d;
$custom-light: #a49e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a771d",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 58.065,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55507,
    "c": 0.10776,
    "h": 107.5
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#7A771D
secondary
#4548AE
accent
#48E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A771D

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

Preview Lab → · Contrast checker → · Palette generator →

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