#7D7C20#7D7C20

#7D7C20 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.111 H 108.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7D7C20
RGBrgb(125, 124, 32)
HSLhsl(59, 59%, 31%)
HSVhsv(59, 74%, 49%)
CMYKcmyk(0%, 0.8%, 74.4%, 51%)
CIE-LABlab(50.55, -11.19, 47.31)
CIE-LCHlch(50.55, 48.62, 103.30°)
OKLaboklab(56.98% -0.0356 0.1046)
OKLCHoklch(56.98% 0.111 108.8)
XYZxyz(15.9264, 18.8801, 4.1715)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C20 #20217D
analogous
#7D4D20 #7D7C20 #4F7D20
triadic
#7D7C20 #207D7C #7C207D
tetradic
#7D7C20 #207D4D #20217D #7D204F
square
#7D7C20 #207D4D #20217D #7D204F
split-complementary
#7D7C20 #204F7D #4D207D
monochromatic
#1C1B07 #4C4C14 #7D7C20 #AEAC2C #D0CF47

Accessibility & contrast

On white

4.40
#7D7C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7D7C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C20
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C20#FFFFFF#000000##000000
##7D7C201.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7c20;
/* rgb */ color: rgb(125, 124, 32);
/* oklch */ color: oklch(57.0% 0.111 108.8);
Tailwind
colors: {
  custom: {
    50: '#a6a163',
    500: '#7d7c20',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c20;
$custom-light: #a6a163;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c20",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 59.355,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56984,
    "c": 0.11051,
    "h": 108.8
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#7D7C20
secondary
#494AB0
accent
#47E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7C20

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

Preview Lab → · Contrast checker → · Palette generator →

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