#7A792F#7A792F

#7A792F is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.096 H 108.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7A792F
RGBrgb(122, 121, 47)
HSLhsl(59, 44%, 33%)
HSVhsv(59, 61%, 48%)
CMYKcmyk(0%, 0.8%, 61.5%, 52.2%)
CIE-LABlab(49.52, -9.96, 39.68)
CIE-LCHlch(49.52, 40.91, 104.09°)
OKLaboklab(56.14% -0.0303 0.0911)
OKLCHoklch(56.14% 0.096 108.4)
XYZxyz(15.3770, 18.0180, 5.3566)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A792F #2F307A
analogous
#7A532F #7A792F #557A2F
triadic
#7A792F #2F7A79 #792F7A
tetradic
#7A792F #2F7A53 #2F307A #7A2F55
square
#7A792F #2F7A53 #2F307A #7A2F55
split-complementary
#7A792F #2F557A #532F7A
monochromatic
#22210D #4E4D1E #7A792F #A6A540 #C2C161

Accessibility & contrast

On white

4.56
#7A792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7A792F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A792F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A792F#FFFFFF#000000##000000
##7A792F1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#827427
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#827269
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a792f;
/* rgb */ color: rgb(122, 121, 47);
/* oklch */ color: oklch(56.1% 0.096 108.4);
Tailwind
colors: {
  custom: {
    50: '#a39f6b',
    500: '#7a792f',
    950: '#000000',
  },
}
SCSS
$custom: #7a792f;
$custom-light: #a39f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a792f",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 59.2,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.09603,
    "h": 108.4
  },
  "luminance": 0.18018
}

Semantic roles & 50–950 ramp

primary
#7A792F
secondary
#5C5DA9
accent
#55D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7A792F

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

Preview Lab → · Contrast checker → · Palette generator →

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