#7A761A#7A761A

#7A761A is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.109 H 106.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7A761A
RGBrgb(122, 118, 26)
HSLhsl(58, 65%, 29%)
HSVhsv(58, 79%, 48%)
CMYKcmyk(0%, 3.3%, 78.7%, 52.2%)
CIE-LABlab(48.47, -9.56, 47.46)
CIE-LCHlch(48.47, 48.42, 101.39°)
OKLaboklab(55.25% -0.0315 0.1039)
OKLCHoklch(55.25% 0.109 106.9)
XYZxyz(14.6915, 17.1696, 3.5173)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A761A #1A1E7A
analogous
#7A461A #7A761A #4E7A1A
triadic
#7A761A #1A7A76 #761A7A
tetradic
#7A761A #1A7A46 #1A1E7A #7A1A4E
square
#7A761A #1A7A46 #1A1E7A #7A1A4E
split-complementary
#7A761A #1A4E7A #461A7A
monochromatic
#191805 #48450F #7A761A #ACA725 #D5CE39

Accessibility & contrast

On white

4.74
#7A761A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7A761A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A761A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A761A#FFFFFF#000000##FFFFFF
##7A761A1.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)
#817105
Deuteranopia (green-blind)
#827521
Tritanopia (blue-blind)
#836E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a761a;
/* rgb */ color: rgb(122, 118, 26);
/* oklch */ color: oklch(55.3% 0.109 106.9);
Tailwind
colors: {
  custom: {
    50: '#a49d5f',
    500: '#7a761a',
    950: '#000000',
  },
}
SCSS
$custom: #7a761a;
$custom-light: #a49d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a761a",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 26
  },
  "hsl": {
    "h": 57.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55252,
    "c": 0.10854,
    "h": 106.9
  },
  "luminance": 0.17169
}

Semantic roles & 50–950 ramp

primary
#7A761A
secondary
#4146AE
accent
#47E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A761A

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

Preview Lab → · Contrast checker → · Palette generator →

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