#7E801D#7E801D

#7E801D is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.0% C 0.116 H 110.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7E801D
RGBrgb(126, 128, 29)
HSLhsl(61, 63%, 31%)
HSVhsv(61, 77%, 50%)
CMYKcmyk(1.6%, 0%, 77.3%, 49.8%)
CIE-LABlab(51.80, -13.04, 49.61)
CIE-LCHlch(51.80, 51.30, 104.73°)
OKLaboklab(58% -0.0412 0.1089)
OKLCHoklch(58% 0.116 110.7)
XYZxyz(16.5457, 19.9631, 4.1439)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E801D #1F1D80
analogous
#80501D #7E801D #4C801D
triadic
#7E801D #1D7E80 #801D7E
tetradic
#7E801D #1D8050 #1F1D80 #801D4C
square
#7E801D #1D8050 #1F1D80 #801D4C
split-complementary
#7E801D #1D4C80 #501D80
monochromatic
#1C1C06 #4D4E12 #7E801D #AFB228 #D1D443

Accessibility & contrast

On white

4.21
#7E801D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7E801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E801D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E801D#FFFFFF#000000##000000
##7E801D1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A06
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#87786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e801d;
/* rgb */ color: rgb(126, 128, 29);
/* oklch */ color: oklch(58.0% 0.116 110.7);
Tailwind
colors: {
  custom: {
    50: '#a7a462',
    500: '#7e801d',
    950: '#000000',
  },
}
SCSS
$custom: #7e801d;
$custom-light: #a7a462;
$custom-dark: #000000;
JSON
{
  "hex": "#7e801d",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 61.212,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57997,
    "c": 0.11639,
    "h": 110.7
  },
  "luminance": 0.19963
}

Semantic roles & 50–950 ramp

primary
#7E801D
secondary
#4845B3
accent
#42E645
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7E801D

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

Preview Lab → · Contrast checker → · Palette generator →

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