#7D791E#7D791E

#7D791E 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.63:1 contrast (WCAG AA passes).

Color values

HEX#7D791E
RGBrgb(125, 121, 30)
HSLhsl(57, 61%, 30%)
HSVhsv(57, 76%, 49%)
CMYKcmyk(0%, 3.2%, 76%, 51%)
CIE-LABlab(49.65, -9.64, 47.21)
CIE-LCHlch(49.65, 48.19, 101.54°)
OKLaboklab(56.27% -0.0315 0.104)
OKLCHoklch(56.27% 0.109 106.9)
XYZxyz(15.5298, 18.1290, 3.9093)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D791E #1E227D
analogous
#7D4A1E #7D791E #517D1E
triadic
#7D791E #1E7D79 #791E7D
tetradic
#7D791E #1E7D4A #1E227D #7D1E51
square
#7D791E #1E7D4A #1E227D #7D1E51
split-complementary
#7D791E #1E517D #4A1E7D
monochromatic
#1A1906 #4C4912 #7D791E #AEA92A #D2CC43

Accessibility & contrast

On white

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

On black

4.63
#7D791E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D791E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D791E#FFFFFF#000000##000000
##7D791E1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#877168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d791e;
/* rgb */ color: rgb(125, 121, 30);
/* oklch */ color: oklch(56.3% 0.109 106.9);
Tailwind
colors: {
  custom: {
    50: '#a69f61',
    500: '#7d791e',
    950: '#000000',
  },
}
SCSS
$custom: #7d791e;
$custom-light: #a69f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d791e",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 57.474,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.10867,
    "h": 106.9
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

primary
#7D791E
secondary
#464BB0
accent
#4AE443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D791E

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

Preview Lab → · Contrast checker → · Palette generator →

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