#7D7A20#7D7A20

#7D7A20 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.108 H 107.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D7A20
RGBrgb(125, 122, 32)
HSLhsl(58, 59%, 31%)
HSVhsv(58, 74%, 49%)
CMYKcmyk(0%, 2.4%, 74.4%, 51%)
CIE-LABlab(49.96, -10.09, 46.75)
CIE-LCHlch(49.96, 47.82, 102.18°)
OKLaboklab(56.51% -0.0326 0.1034)
OKLCHoklch(56.51% 0.108 107.5)
XYZxyz(15.6783, 18.3839, 4.0888)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A20 #20237D
analogous
#7D4B20 #7D7A20 #517D20
triadic
#7D7A20 #207D7A #7A207D
tetradic
#7D7A20 #207D4B #20237D #7D2051
square
#7D7A20 #207D4B #20237D #7D2051
split-complementary
#7D7A20 #20517D #4B207D
monochromatic
#1C1B07 #4C4A14 #7D7A20 #AEAA2C #D0CC47

Accessibility & contrast

On white

4.49
#7D7A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7D7A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A20
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A20#FFFFFF#000000##000000
##7D7A201.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857510
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#867269
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a20;
/* rgb */ color: rgb(125, 122, 32);
/* oklch */ color: oklch(56.5% 0.108 107.5);
Tailwind
colors: {
  custom: {
    50: '#a6a062',
    500: '#7d7a20',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a20;
$custom-light: #a6a062;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a20",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 58.065,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.10842,
    "h": 107.5
  },
  "luminance": 0.18383
}

Semantic roles & 50–950 ramp

primary
#7D7A20
secondary
#494CB0
accent
#4AE245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7A20

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

Preview Lab → · Contrast checker → · Palette generator →

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