#7D801A#7D801A

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

Color values

HEX#7D801A
RGBrgb(125, 128, 26)
HSLhsl(62, 66%, 30%)
HSVhsv(62, 80%, 50%)
CMYKcmyk(2.3%, 0%, 79.7%, 49.8%)
CIE-LABlab(51.69, -13.63, 50.50)
CIE-LCHlch(51.69, 52.31, 105.10°)
OKLaboklab(57.89% -0.043 0.1102)
OKLCHoklch(57.89% 0.118 111.3)
XYZxyz(16.3636, 19.8733, 3.9510)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D801A #1D1A80
analogous
#80501A #7D801A #4A801A
triadic
#7D801A #1A7D80 #801A7D
tetradic
#7D801A #1A8050 #1D1A80 #801A4A
square
#7D801A #1A8050 #1D1A80 #801A4A
split-complementary
#7D801A #1A4A80 #501A80
monochromatic
#1A1A05 #4B4D10 #7D801A #AFB324 #D3D83D

Accessibility & contrast

On white

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

On black

4.97
#7D801A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D801A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D801A#FFFFFF#000000##000000
##7D801A1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d801a;
/* rgb */ color: rgb(125, 128, 26);
/* oklch */ color: oklch(57.9% 0.118 111.3);
Tailwind
colors: {
  custom: {
    50: '#a6a460',
    500: '#7d801a',
    950: '#000000',
  },
}
SCSS
$custom: #7d801a;
$custom-light: #a6a460;
$custom-dark: #000000;
JSON
{
  "hex": "#7d801a",
  "rgb": {
    "r": 125,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 61.765,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5789,
    "c": 0.1183,
    "h": 111.3
  },
  "luminance": 0.19873
}

Semantic roles & 50–950 ramp

primary
#7D801A
secondary
#4542B4
accent
#3FE944
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D801A

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

Preview Lab → · Contrast checker → · Palette generator →

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