#7D801E#7D801E

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

Color values

HEX#7D801E
RGBrgb(125, 128, 30)
HSLhsl(62, 62%, 31%)
HSVhsv(62, 77%, 50%)
CMYKcmyk(2.3%, 0%, 76.6%, 49.8%)
CIE-LABlab(51.72, -13.45, 49.16)
CIE-LCHlch(51.72, 50.97, 105.31°)
OKLaboklab(57.91% -0.0422 0.1081)
OKLCHoklch(57.91% 0.116 111.3)
XYZxyz(16.4115, 19.8925, 4.2032)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D801E #211E80
analogous
#80521E #7D801E #4C801E
triadic
#7D801E #1E7D80 #801E7D
tetradic
#7D801E #1E8052 #211E80 #801E4C
square
#7D801E #1E8052 #211E80 #801E4C
split-complementary
#7D801E #1E4C80 #521E80
monochromatic
#1C1D07 #4D4E12 #7D801E #ADB22A #CFD345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D801E#FFFFFF#000000##000000
##7D801E1.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)
#8A7A08
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#86786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d801e;
/* rgb */ color: rgb(125, 128, 30);
/* oklch */ color: oklch(57.9% 0.116 111.3);
Tailwind
colors: {
  custom: {
    50: '#a6a462',
    500: '#7d801e',
    950: '#000000',
  },
}
SCSS
$custom: #7d801e;
$custom-light: #a6a462;
$custom-dark: #000000;
JSON
{
  "hex": "#7d801e",
  "rgb": {
    "r": 125,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 61.837,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.11606,
    "h": 111.3
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#7D801E
secondary
#4A47B3
accent
#43E548
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7D801E

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

Preview Lab → · Contrast checker → · Palette generator →

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