#7D792A#7D792A

#7D792A is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.100 H 106.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D792A
RGBrgb(125, 121, 42)
HSLhsl(57, 50%, 33%)
HSVhsv(57, 66%, 49%)
CMYKcmyk(0%, 3.2%, 66.4%, 51%)
CIE-LABlab(49.74, -8.95, 42.32)
CIE-LCHlch(49.74, 43.26, 101.94°)
OKLaboklab(56.36% -0.0282 0.0959)
OKLCHoklch(56.36% 0.1 106.4)
XYZxyz(15.7133, 18.2024, 4.8757)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D792A #2A2E7D
analogous
#7D4F2A #7D792A #587D2A
triadic
#7D792A #2A7D79 #792A7D
tetradic
#7D792A #2A7D4F #2A2E7D #7D2A58
square
#7D792A #2A7D4F #2A2E7D #7D2A58
split-complementary
#7D792A #2A587D #4F2A7D
monochromatic
#21200B #4F4D1B #7D792A #ABA539 #C8C25A

Accessibility & contrast

On white

4.53
#7D792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7D792A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D792A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D792A#FFFFFF#000000##000000
##7D792A1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d792a;
/* rgb */ color: rgb(125, 121, 42);
/* oklch */ color: oklch(56.4% 0.100 106.4);
Tailwind
colors: {
  custom: {
    50: '#a59f68',
    500: '#7d792a',
    950: '#000000',
  },
}
SCSS
$custom: #7d792a;
$custom-light: #a59f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d792a",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 57.108,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56365,
    "c": 0.09994,
    "h": 106.4
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#7D792A
secondary
#565AAD
accent
#55D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D792A

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

Preview Lab → · Contrast checker → · Palette generator →

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