#7A792C#7A792C

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

Color values

HEX#7A792C
RGBrgb(122, 121, 44)
HSLhsl(59, 47%, 33%)
HSVhsv(59, 64%, 48%)
CMYKcmyk(0%, 0.8%, 63.9%, 52.2%)
CIE-LABlab(49.49, -10.18, 41.06)
CIE-LCHlch(49.49, 42.30, 103.93°)
OKLaboklab(56.11% -0.0313 0.0936)
OKLCHoklch(56.11% 0.099 108.5)
XYZxyz(15.3185, 17.9946, 5.0488)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A792C #2C2D7A
analogous
#7A522C #7A792C #547A2C
triadic
#7A792C #2C7A79 #792C7A
tetradic
#7A792C #2C7A52 #2C2D7A #7A2C54
square
#7A792C #2C7A52 #2C2D7A #7A2C54
split-complementary
#7A792C #2C547A #522C7A
monochromatic
#20200C #4D4C1C #7A792C #A7A63C #C4C35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A792C#FFFFFF#000000##000000
##7A792C1.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)
#837423
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#837169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a792c;
/* rgb */ color: rgb(122, 121, 44);
/* oklch */ color: oklch(56.1% 0.099 108.5);
Tailwind
colors: {
  custom: {
    50: '#a39f69',
    500: '#7a792c',
    950: '#000000',
  },
}
SCSS
$custom: #7a792c;
$custom-light: #a39f69;
$custom-dark: #000000;
JSON
{
  "hex": "#7a792c",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 59.231,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56105,
    "c": 0.0987,
    "h": 108.5
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#7A792C
secondary
#5758AA
accent
#53D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A792C

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

Preview Lab → · Contrast checker → · Palette generator →

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