#7D792F#7D792F

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

Color values

HEX#7D792F
RGBrgb(125, 121, 47)
HSLhsl(57, 45%, 34%)
HSVhsv(57, 62%, 49%)
CMYKcmyk(0%, 3.2%, 62.4%, 51%)
CIE-LABlab(49.79, -8.59, 40.05)
CIE-LCHlch(49.79, 40.96, 102.11°)
OKLaboklab(56.42% -0.0266 0.0918)
OKLCHoklch(56.42% 0.096 106.2)
XYZxyz(15.8084, 18.2405, 5.3768)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D792F #2F337D
analogous
#7D522F #7D792F #5A7D2F
triadic
#7D792F #2F7D79 #792F7D
tetradic
#7D792F #2F7D52 #2F337D #7D2F5A
square
#7D792F #2F7D52 #2F337D #7D2F5A
split-complementary
#7D792F #2F5A7D #522F7D
monochromatic
#24230E #514E1E #7D792F #A9A440 #C4BF62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D792F#FFFFFF#000000##000000
##7D792F1.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)
#837527
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#867169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d792f;
/* rgb */ color: rgb(125, 121, 47);
/* oklch */ color: oklch(56.4% 0.096 106.2);
Tailwind
colors: {
  custom: {
    50: '#a59f6b',
    500: '#7d792f',
    950: '#000000',
  },
}
SCSS
$custom: #7d792f;
$custom-light: #a59f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d792f",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 56.923,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56416,
    "c": 0.09562,
    "h": 106.2
  },
  "luminance": 0.1824
}

Semantic roles & 50–950 ramp

primary
#7D792F
secondary
#5D61AB
accent
#59D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7D792F

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

Preview Lab → · Contrast checker → · Palette generator →

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