#7D792E#7D792E

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

Color values

HEX#7D792E
RGBrgb(125, 121, 46)
HSLhsl(57, 46%, 34%)
HSVhsv(57, 63%, 49%)
CMYKcmyk(0%, 3.2%, 63.2%, 51%)
CIE-LABlab(49.78, -8.67, 40.51)
CIE-LCHlch(49.78, 41.43, 102.07°)
OKLaboklab(56.41% -0.027 0.0927)
OKLCHoklch(56.41% 0.097 106.2)
XYZxyz(15.7885, 18.2325, 5.2718)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D792E #2E327D
analogous
#7D512E #7D792E #597D2E
triadic
#7D792E #2E7D79 #792E7D
tetradic
#7D792E #2E7D51 #2E327D #7D2E59
square
#7D792E #2E7D51 #2E327D #7D2E59
split-complementary
#7D792E #2E597D #512E7D
monochromatic
#24220D #504E1E #7D792E #AAA43E #C5C061

Accessibility & contrast

On white

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

On black

4.65
#7D792E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D792E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D792E#FFFFFF#000000##000000
##7D792E1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d792e;
/* rgb */ color: rgb(125, 121, 46);
/* oklch */ color: oklch(56.4% 0.097 106.2);
Tailwind
colors: {
  custom: {
    50: '#a59f6a',
    500: '#7d792e',
    950: '#000000',
  },
}
SCSS
$custom: #7d792e;
$custom-light: #a59f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d792e",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 56.962,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56405,
    "c": 0.09651,
    "h": 106.2
  },
  "luminance": 0.18232
}

Semantic roles & 50–950 ramp

primary
#7D792E
secondary
#5B5FAB
accent
#59D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7D792E

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

Preview Lab → · Contrast checker → · Palette generator →

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