#7A784B#7A784B

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

Color values

HEX#7A784B
RGBrgb(122, 120, 75)
HSLhsl(57, 24%, 39%)
HSVhsv(57, 39%, 48%)
CMYKcmyk(0%, 1.6%, 38.5%, 52.2%)
CIE-LABlab(49.59, -6.57, 25.01)
CIE-LCHlch(49.59, 25.86, 104.73°)
OKLaboklab(56.31% -0.0177 0.0614)
OKLCHoklch(56.31% 0.064 106.1)
XYZxyz(16.0127, 18.0789, 9.3013)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A784B #4B4D7A
analogous
#7A604B #7A784B #647A4B
triadic
#7A784B #4B7A78 #784B7A
tetradic
#7A784B #4B7A60 #4B4D7A #7A4B64
square
#7A784B #4B7A60 #4B4D7A #7A4B64
split-complementary
#7A784B #4B647A #604B7A
monochromatic
#2E2D1C #545334 #7A784B #9F9D63 #B6B589

Accessibility & contrast

On white

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

On black

4.62
#7A784B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A784B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A784B#FFFFFF#000000##000000
##7A784B1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7548
Deuteranopia (green-blind)
#80774D
Tritanopia (blue-blind)
#80736D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a784b;
/* rgb */ color: rgb(122, 120, 75);
/* oklch */ color: oklch(56.3% 0.064 106.1);
Tailwind
colors: {
  custom: {
    50: '#a19e7e',
    500: '#7a784b',
    950: '#000000',
  },
}
SCSS
$custom: #7a784b;
$custom-light: #a19e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a784b",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 75
  },
  "hsl": {
    "h": 57.447,
    "s": 23.858,
    "l": 38.627
  },
  "oklch": {
    "l": 0.56314,
    "c": 0.06386,
    "h": 106.1
  },
  "luminance": 0.18079
}

Semantic roles & 50–950 ramp

primary
#7A784B
secondary
#7E7FA3
accent
#6BC067
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7A784B

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

Preview Lab → · Contrast checker → · Palette generator →

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