#7A792D#7A792D

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

Color values

HEX#7A792D
RGBrgb(122, 121, 45)
HSLhsl(59, 46%, 33%)
HSVhsv(59, 63%, 48%)
CMYKcmyk(0%, 0.8%, 63.1%, 52.2%)
CIE-LABlab(49.50, -10.11, 40.60)
CIE-LCHlch(49.50, 41.84, 103.98°)
OKLaboklab(56.12% -0.031 0.0928)
OKLCHoklch(56.12% 0.098 108.5)
XYZxyz(15.3375, 18.0022, 5.1490)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A792D #2D2E7A
analogous
#7A532D #7A792D #547A2D
triadic
#7A792D #2D7A79 #792D7A
tetradic
#7A792D #2D7A53 #2D2E7A #7A2D54
square
#7A792D #2D7A53 #2D2E7A #7A2D54
split-complementary
#7A792D #2D547A #532D7A
monochromatic
#21200C #4D4D1D #7A792D #A7A53D #C4C25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A792D#FFFFFF#000000##000000
##7A792D1.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)
#837424
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#827169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a792d;
/* rgb */ color: rgb(122, 121, 45);
/* oklch */ color: oklch(56.1% 0.098 108.5);
Tailwind
colors: {
  custom: {
    50: '#a39f6a',
    500: '#7a792d',
    950: '#000000',
  },
}
SCSS
$custom: #7a792d;
$custom-light: #a39f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a792d",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 59.221,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56116,
    "c": 0.09783,
    "h": 108.5
  },
  "luminance": 0.18002
}

Semantic roles & 50–950 ramp

primary
#7A792D
secondary
#595AAA
accent
#54D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A792D

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

Preview Lab → · Contrast checker → · Palette generator →

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