#7A761D#7A761D

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

Color values

HEX#7A761D
RGBrgb(122, 118, 29)
HSLhsl(57, 62%, 30%)
HSVhsv(57, 76%, 48%)
CMYKcmyk(0%, 3.3%, 76.2%, 52.2%)
CIE-LABlab(48.49, -9.43, 46.39)
CIE-LCHlch(48.49, 47.34, 101.49°)
OKLaboklab(55.27% -0.0308 0.1022)
OKLCHoklch(55.27% 0.107 106.8)
XYZxyz(14.7268, 17.1837, 3.7032)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A761D #1D217A
analogous
#7A471D #7A761D #507A1D
triadic
#7A761D #1D7A76 #761D7A
tetradic
#7A761D #1D7A47 #1D217A #7A1D50
square
#7A761D #1D7A47 #1D217A #7A1D50
split-complementary
#7A761D #1D507A #471D7A
monochromatic
#191806 #494611 #7A761D #ABA629 #D2CB40

Accessibility & contrast

On white

4.73
#7A761D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7A761D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A761D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A761D#FFFFFF#000000##FFFFFF
##7A761D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710B
Deuteranopia (green-blind)
#827524
Tritanopia (blue-blind)
#836E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a761d;
/* rgb */ color: rgb(122, 118, 29);
/* oklch */ color: oklch(55.3% 0.107 106.8);
Tailwind
colors: {
  custom: {
    50: '#a49d60',
    500: '#7a761d',
    950: '#000000',
  },
}
SCSS
$custom: #7a761d;
$custom-light: #a49d60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a761d",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 29
  },
  "hsl": {
    "h": 57.419,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55272,
    "c": 0.10674,
    "h": 106.8
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#7A761D
secondary
#454AAE
accent
#4AE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A761D

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

Preview Lab → · Contrast checker → · Palette generator →

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