#7A771A#7A771A

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

Color values

HEX#7A771A
RGBrgb(122, 119, 26)
HSLhsl(58, 65%, 29%)
HSVhsv(58, 79%, 48%)
CMYKcmyk(0%, 2.5%, 78.7%, 52.2%)
CIE-LABlab(48.77, -10.12, 47.74)
CIE-LCHlch(48.77, 48.80, 101.97°)
OKLaboklab(55.49% -0.0331 0.1044)
OKLCHoklch(55.49% 0.11 107.6)
XYZxyz(14.8099, 17.4063, 3.5567)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A771A #1A1D7A
analogous
#7A471A #7A771A #4D7A1A
triadic
#7A771A #1A7A77 #771A7A
tetradic
#7A771A #1A7A47 #1A1D7A #7A1A4D
square
#7A771A #1A7A47 #1A1D7A #7A1A4D
split-complementary
#7A771A #1A4D7A #471A7A
monochromatic
#191905 #48460F #7A771A #ACA825 #D5D039

Accessibility & contrast

On white

4.69
#7A771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A771A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A771A#FFFFFF#000000##FFFFFF
##7A771A1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#836F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a771a;
/* rgb */ color: rgb(122, 119, 26);
/* oklch */ color: oklch(55.5% 0.110 107.6);
Tailwind
colors: {
  custom: {
    50: '#a49e5f',
    500: '#7a771a',
    950: '#000000',
  },
}
SCSS
$custom: #7a771a;
$custom-light: #a49e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a771a",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 58.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55488,
    "c": 0.10955,
    "h": 107.6
  },
  "luminance": 0.17406
}

Semantic roles & 50–950 ramp

primary
#7A771A
secondary
#4145AE
accent
#45E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A771A

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

Preview Lab → · Contrast checker → · Palette generator →

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