#7D792D#7D792D

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

Color values

HEX#7D792D
RGBrgb(125, 121, 45)
HSLhsl(57, 47%, 33%)
HSVhsv(57, 64%, 49%)
CMYKcmyk(0%, 3.2%, 64%, 51%)
CIE-LABlab(49.77, -8.74, 40.97)
CIE-LCHlch(49.77, 41.90, 102.04°)
OKLaboklab(56.4% -0.0273 0.0935)
OKLCHoklch(56.4% 0.097 106.3)
XYZxyz(15.7690, 18.2247, 5.1692)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D792D #2D317D
analogous
#7D512D #7D792D #597D2D
triadic
#7D792D #2D7D79 #792D7D
tetradic
#7D792D #2D7D51 #2D317D #7D2D59
square
#7D792D #2D7D51 #2D317D #7D2D59
split-complementary
#7D792D #2D597D #512D7D
monochromatic
#23220D #504D1D #7D792D #AAA53D #C5C05F

Accessibility & contrast

On white

4.52
#7D792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D792D#FFFFFF#000000##000000
##7D792D1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#837524
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#867169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d792d;
/* rgb */ color: rgb(125, 121, 45);
/* oklch */ color: oklch(56.4% 0.097 106.3);
Tailwind
colors: {
  custom: {
    50: '#a59f6a',
    500: '#7d792d',
    950: '#000000',
  },
}
SCSS
$custom: #7d792d;
$custom-light: #a59f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d792d",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 57,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.09739,
    "h": 106.3
  },
  "luminance": 0.18224
}

Semantic roles & 50–950 ramp

primary
#7D792D
secondary
#5A5EAC
accent
#58D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7D792D

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

Preview Lab → · Contrast checker → · Palette generator →

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