#7A784A#7A784A

#7A784A is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.065 H 106.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7A784A
RGBrgb(122, 120, 74)
HSLhsl(58, 24%, 38%)
HSVhsv(58, 39%, 48%)
CMYKcmyk(0%, 1.6%, 39.3%, 52.2%)
CIE-LABlab(49.58, -6.70, 25.55)
CIE-LCHlch(49.58, 26.41, 104.69°)
OKLaboklab(56.3% -0.0181 0.0626)
OKLCHoklch(56.3% 0.065 106.2)
XYZxyz(15.9788, 18.0653, 9.1225)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A784A #4A4C7A
analogous
#7A604A #7A784A #647A4A
triadic
#7A784A #4A7A78 #784A7A
tetradic
#7A784A #4A7A60 #4A4C7A #7A4A64
square
#7A784A #4A7A60 #4A4C7A #7A4A64
split-complementary
#7A784A #4A647A #604A7A
monochromatic
#2E2D1C #545333 #7A784A #A09D62 #B7B588

Accessibility & contrast

On white

4.55
#7A784A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7A784A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A784A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A784A#FFFFFF#000000##000000
##7A784A1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7547
Deuteranopia (green-blind)
#80774C
Tritanopia (blue-blind)
#81726D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a784a;
/* rgb */ color: rgb(122, 120, 74);
/* oklch */ color: oklch(56.3% 0.065 106.2);
Tailwind
colors: {
  custom: {
    50: '#a19e7d',
    500: '#7a784a',
    950: '#000000',
  },
}
SCSS
$custom: #7a784a;
$custom-light: #a19e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a784a",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 74
  },
  "hsl": {
    "h": 57.5,
    "s": 24.49,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56296,
    "c": 0.06512,
    "h": 106.2
  },
  "luminance": 0.18065
}

Semantic roles & 50–950 ramp

primary
#7A784A
secondary
#7D7EA3
accent
#6BC167
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7A784A

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

Preview Lab → · Contrast checker → · Palette generator →

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