#7D7B20#7D7B20

#7D7B20 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.109 H 108.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7D7B20
RGBrgb(125, 123, 32)
HSLhsl(59, 59%, 31%)
HSVhsv(59, 74%, 49%)
CMYKcmyk(0%, 1.6%, 74.4%, 51%)
CIE-LABlab(50.25, -10.64, 47.03)
CIE-LCHlch(50.25, 48.22, 102.75°)
OKLaboklab(56.75% -0.0341 0.104)
OKLCHoklch(56.75% 0.109 108.2)
XYZxyz(15.8017, 18.6307, 4.1299)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7B20 #20227D
analogous
#7D4C20 #7D7B20 #507D20
triadic
#7D7B20 #207D7B #7B207D
tetradic
#7D7B20 #207D4C #20227D #7D2050
square
#7D7B20 #207D4C #20227D #7D2050
split-complementary
#7D7B20 #20507D #4C207D
monochromatic
#1C1B07 #4C4B14 #7D7B20 #AEAB2C #D0CD47

Accessibility & contrast

On white

4.44
#7D7B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7D7B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7B20
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7B20#FFFFFF#000000##000000
##7D7B201.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760F
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#867369
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7b20;
/* rgb */ color: rgb(125, 123, 32);
/* oklch */ color: oklch(56.7% 0.109 108.2);
Tailwind
colors: {
  custom: {
    50: '#a6a063',
    500: '#7d7b20',
    950: '#000000',
  },
}
SCSS
$custom: #7d7b20;
$custom-light: #a6a063;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7b20",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 58.71,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.10945,
    "h": 108.2
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#7D7B20
secondary
#494BB0
accent
#49E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7B20

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

Preview Lab → · Contrast checker → · Palette generator →

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