#7D801D#7D801D

#7D801D is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.9% C 0.117 H 111.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7D801D
RGBrgb(125, 128, 29)
HSLhsl(62, 63%, 31%)
HSVhsv(62, 77%, 50%)
CMYKcmyk(2.3%, 0%, 77.3%, 49.8%)
CIE-LABlab(51.71, -13.50, 49.50)
CIE-LCHlch(51.71, 51.31, 105.25°)
OKLaboklab(57.91% -0.0424 0.1087)
OKLCHoklch(57.91% 0.117 111.3)
XYZxyz(16.3990, 19.8875, 4.1370)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D801D #201D80
analogous
#80511D #7D801D #4B801D
triadic
#7D801D #1D7D80 #801D7D
tetradic
#7D801D #1D8051 #201D80 #801D4B
square
#7D801D #1D8051 #201D80 #801D4B
split-complementary
#7D801D #1D4B80 #511D80
monochromatic
#1C1C06 #4C4E12 #7D801D #AEB228 #D0D443

Accessibility & contrast

On white

4.22
#7D801D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7D801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D801D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D801D#FFFFFF#000000##000000
##7D801D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#86786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d801d;
/* rgb */ color: rgb(125, 128, 29);
/* oklch */ color: oklch(57.9% 0.117 111.3);
Tailwind
colors: {
  custom: {
    50: '#a6a462',
    500: '#7d801d',
    950: '#000000',
  },
}
SCSS
$custom: #7d801d;
$custom-light: #a6a462;
$custom-dark: #000000;
JSON
{
  "hex": "#7d801d",
  "rgb": {
    "r": 125,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 61.818,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57907,
    "c": 0.11665,
    "h": 111.3
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

primary
#7D801D
secondary
#4945B3
accent
#42E647
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7D801D

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

Preview Lab → · Contrast checker → · Palette generator →

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