#7D7D20#7D7D20

#7D7D20 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.112 H 109.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7D7D20
RGBrgb(125, 125, 32)
HSLhsl(60, 59%, 31%)
HSVhsv(60, 74%, 49%)
CMYKcmyk(0%, 0%, 74.4%, 51%)
CIE-LABlab(50.84, -11.73, 47.60)
CIE-LCHlch(50.84, 49.02, 103.85°)
OKLaboklab(57.22% -0.0372 0.1052)
OKLCHoklch(57.22% 0.112 109.5)
XYZxyz(16.0524, 19.1320, 4.2135)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D20 #20207D
analogous
#7D4E20 #7D7D20 #4E7D20
triadic
#7D7D20 #207D7D #7D207D
tetradic
#7D7D20 #207D4E #20207D #7D204E
square
#7D7D20 #207D4E #20207D #7D204E
split-complementary
#7D7D20 #204E7D #4E207D
monochromatic
#1C1C07 #4C4C14 #7D7D20 #AEAE2C #D0D047

Accessibility & contrast

On white

4.35
#7D7D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7D7D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D20
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D20#FFFFFF#000000##000000
##7D7D201.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87780E
Deuteranopia (green-blind)
#897A27
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d20;
/* rgb */ color: rgb(125, 125, 32);
/* oklch */ color: oklch(57.2% 0.112 109.5);
Tailwind
colors: {
  custom: {
    50: '#a6a263',
    500: '#7d7d20',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d20;
$custom-light: #a6a263;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d20",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57219,
    "c": 0.11157,
    "h": 109.5
  },
  "luminance": 0.19131
}

Semantic roles & 50–950 ramp

primary
#7D7D20
secondary
#4949B0
accent
#45E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7D7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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