#7A792A#7A792A

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

Color values

HEX#7A792A
RGBrgb(122, 121, 42)
HSLhsl(59, 49%, 32%)
HSVhsv(59, 66%, 48%)
CMYKcmyk(0%, 0.8%, 65.6%, 52.2%)
CIE-LABlab(49.47, -10.32, 41.96)
CIE-LCHlch(49.47, 43.21, 103.82°)
OKLaboklab(56.08% -0.0319 0.0952)
OKLCHoklch(56.08% 0.1 108.5)
XYZxyz(15.2818, 17.9799, 4.8555)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A792A #2A2B7A
analogous
#7A512A #7A792A #537A2A
triadic
#7A792A #2A7A79 #792A7A
tetradic
#7A792A #2A7A51 #2A2B7A #7A2A53
square
#7A792A #2A7A51 #2A2B7A #7A2A53
split-complementary
#7A792A #2A537A #512A7A
monochromatic
#1F1F0B #4C4C1A #7A792A #A8A63A #C6C459

Accessibility & contrast

On white

4.57
#7A792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A792A#FFFFFF#000000##000000
##7A792A1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837420
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#837169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a792a;
/* rgb */ color: rgb(122, 121, 42);
/* oklch */ color: oklch(56.1% 0.100 108.5);
Tailwind
colors: {
  custom: {
    50: '#a39f68',
    500: '#7a792a',
    950: '#000000',
  },
}
SCSS
$custom: #7a792a;
$custom-light: #a39f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7a792a",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 59.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56085,
    "c": 0.10041,
    "h": 108.5
  },
  "luminance": 0.17979
}

Semantic roles & 50–950 ramp

primary
#7A792A
secondary
#5556AB
accent
#51D84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A792A

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

Preview Lab → · Contrast checker → · Palette generator →

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