#7D792C#7D792C

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

Color values

HEX#7D792C
RGBrgb(125, 121, 44)
HSLhsl(57, 48%, 33%)
HSVhsv(57, 65%, 49%)
CMYKcmyk(0%, 3.2%, 64.8%, 51%)
CIE-LABlab(49.76, -8.81, 41.43)
CIE-LCHlch(49.76, 42.35, 102.00°)
OKLaboklab(56.39% -0.0276 0.0943)
OKLCHoklch(56.39% 0.098 106.3)
XYZxyz(15.7500, 18.2171, 5.0690)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D792C #2C307D
analogous
#7D502C #7D792C #587D2C
triadic
#7D792C #2C7D79 #792C7D
tetradic
#7D792C #2C7D50 #2C307D #7D2C58
square
#7D792C #2C7D50 #2C307D #7D2C58
split-complementary
#7D792C #2C587D #502C7D
monochromatic
#22210C #504D1C #7D792C #AAA53C #C6C15D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D792C#FFFFFF#000000##000000
##7D792C1.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)
#837523
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#867169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d792c;
/* rgb */ color: rgb(125, 121, 44);
/* oklch */ color: oklch(56.4% 0.098 106.3);
Tailwind
colors: {
  custom: {
    50: '#a59f69',
    500: '#7d792c',
    950: '#000000',
  },
}
SCSS
$custom: #7d792c;
$custom-light: #a59f69;
$custom-dark: #000000;
JSON
{
  "hex": "#7d792c",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 57.037,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56385,
    "c": 0.09826,
    "h": 106.3
  },
  "luminance": 0.18217
}

Semantic roles & 50–950 ramp

primary
#7D792C
secondary
#595DAC
accent
#57D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D792C

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

Preview Lab → · Contrast checker → · Palette generator →

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