#7A771E#7A771E

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

Color values

HEX#7A771E
RGBrgb(122, 119, 30)
HSLhsl(58, 61%, 30%)
HSVhsv(58, 75%, 48%)
CMYKcmyk(0%, 2.5%, 75.4%, 52.2%)
CIE-LABlab(48.79, -9.93, 46.30)
CIE-LCHlch(48.79, 47.35, 102.10°)
OKLaboklab(55.51% -0.0322 0.1022)
OKLCHoklch(55.51% 0.107 107.5)
XYZxyz(14.8578, 17.4255, 3.8088)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A771E #1E217A
analogous
#7A491E #7A771E #4F7A1E
triadic
#7A771E #1E7A77 #771E7A
tetradic
#7A771E #1E7A49 #1E217A #7A1E4F
square
#7A771E #1E7A49 #1E217A #7A1E4F
split-complementary
#7A771E #1E4F7A #491E7A
monochromatic
#191806 #494712 #7A771E #ABA72A #D0CC42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A771E#FFFFFF#000000##FFFFFF
##7A771E1.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)
#81720D
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#836F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a771e;
/* rgb */ color: rgb(122, 119, 30);
/* oklch */ color: oklch(55.5% 0.107 107.5);
Tailwind
colors: {
  custom: {
    50: '#a39e61',
    500: '#7a771e',
    950: '#000000',
  },
}
SCSS
$custom: #7a771e;
$custom-light: #a39e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a771e",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 58.043,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55514,
    "c": 0.10713,
    "h": 107.5
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#7A771E
secondary
#464AAE
accent
#49E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A771E

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

Preview Lab → · Contrast checker → · Palette generator →

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