#7D791D#7D791D

#7D791D is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.109 H 106.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D791D
RGBrgb(125, 121, 29)
HSLhsl(58, 62%, 30%)
HSVhsv(58, 77%, 49%)
CMYKcmyk(0%, 3.2%, 76.8%, 51%)
CIE-LABlab(49.65, -9.69, 47.58)
CIE-LCHlch(49.65, 48.55, 101.51°)
OKLaboklab(56.26% -0.0317 0.1046)
OKLCHoklch(56.26% 0.109 106.9)
XYZxyz(15.5172, 18.1240, 3.8431)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D791D #1D217D
analogous
#7D491D #7D791D #517D1D
triadic
#7D791D #1D7D79 #791D7D
tetradic
#7D791D #1D7D49 #1D217D #7D1D51
square
#7D791D #1D7D49 #1D217D #7D1D51
split-complementary
#7D791D #1D517D #491D7D
monochromatic
#1A1906 #4B4911 #7D791D #AFA929 #D3CD41

Accessibility & contrast

On white

4.54
#7D791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7D791D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D791D
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D791D#FFFFFF#000000##000000
##7D791D1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84740A
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#877167
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d791d;
/* rgb */ color: rgb(125, 121, 29);
/* oklch */ color: oklch(56.3% 0.109 106.9);
Tailwind
colors: {
  custom: {
    50: '#a69f61',
    500: '#7d791d',
    950: '#000000',
  },
}
SCSS
$custom: #7d791d;
$custom-light: #a69f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d791d",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 57.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.10929,
    "h": 106.9
  },
  "luminance": 0.18123
}

Semantic roles & 50–950 ramp

primary
#7D791D
secondary
#454AB1
accent
#49E542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D791D

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

Preview Lab → · Contrast checker → · Palette generator →

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