#7D792B#7D792B

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

Color values

HEX#7D792B
RGBrgb(125, 121, 43)
HSLhsl(57, 49%, 33%)
HSVhsv(57, 66%, 49%)
CMYKcmyk(0%, 3.2%, 65.6%, 51%)
CIE-LABlab(49.75, -8.88, 41.88)
CIE-LCHlch(49.75, 42.81, 101.97°)
OKLaboklab(56.38% -0.0279 0.0951)
OKLCHoklch(56.38% 0.099 106.4)
XYZxyz(15.7314, 18.2097, 4.9712)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D792B #2B2F7D
analogous
#7D502B #7D792B #587D2B
triadic
#7D792B #2B7D79 #792B7D
tetradic
#7D792B #2B7D50 #2B2F7D #7D2B58
square
#7D792B #2B7D50 #2B2F7D #7D2B58
split-complementary
#7D792B #2B587D #502B7D
monochromatic
#22210C #4F4D1B #7D792B #ABA53B #C7C25C

Accessibility & contrast

On white

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

On black

4.64
#7D792B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D792B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D792B#FFFFFF#000000##000000
##7D792B1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d792b;
/* rgb */ color: rgb(125, 121, 43);
/* oklch */ color: oklch(56.4% 0.099 106.4);
Tailwind
colors: {
  custom: {
    50: '#a59f68',
    500: '#7d792b',
    950: '#000000',
  },
}
SCSS
$custom: #7d792b;
$custom-light: #a59f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d792b",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 57.073,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56375,
    "c": 0.09911,
    "h": 106.4
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#7D792B
secondary
#575BAD
accent
#56D84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D792B

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

Preview Lab → · Contrast checker → · Palette generator →

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