#7D791A#7D791A

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

Color values

HEX#7D791A
RGBrgb(125, 121, 26)
HSLhsl(58, 66%, 30%)
HSVhsv(58, 79%, 49%)
CMYKcmyk(0%, 3.2%, 79.2%, 51%)
CIE-LABlab(49.63, -9.82, 48.62)
CIE-LCHlch(49.63, 49.61, 101.42°)
OKLaboklab(56.24% -0.0324 0.1062)
OKLCHoklch(56.24% 0.111 107)
XYZxyz(15.4819, 18.1099, 3.6571)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D791A #1A1E7D
analogous
#7D481A #7D791A #507D1A
triadic
#7D791A #1A7D79 #791A7D
tetradic
#7D791A #1A7D48 #1A1E7D #7D1A50
square
#7D791A #1A7D48 #1A1E7D #7D1A50
split-complementary
#7D791A #1A507D #481A7D
monochromatic
#191905 #4A480F #7D791A #B0AA25 #D6D03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D791A#FFFFFF#000000##000000
##7D791A1.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)
#847403
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#877067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d791a;
/* rgb */ color: rgb(125, 121, 26);
/* oklch */ color: oklch(56.2% 0.111 107.0);
Tailwind
colors: {
  custom: {
    50: '#a69f5f',
    500: '#7d791a',
    950: '#000000',
  },
}
SCSS
$custom: #7d791a;
$custom-light: #a69f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d791a",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 57.576,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5624,
    "c": 0.11104,
    "h": 107
  },
  "luminance": 0.18109
}

Semantic roles & 50–950 ramp

primary
#7D791A
secondary
#4246B1
accent
#46E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D791A

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

Preview Lab → · Contrast checker → · Palette generator →

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