#7E801A#7E801A

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

Color values

HEX#7E801A
RGBrgb(126, 128, 26)
HSLhsl(61, 66%, 30%)
HSVhsv(61, 80%, 50%)
CMYKcmyk(1.6%, 0%, 79.7%, 49.8%)
CIE-LABlab(51.78, -13.17, 50.61)
CIE-LCHlch(51.78, 52.30, 104.59°)
OKLaboklab(57.98% -0.0418 0.1104)
OKLCHoklch(57.98% 0.118 110.7)
XYZxyz(16.5104, 19.9490, 3.9579)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E801A #1C1A80
analogous
#804F1A #7E801A #4B801A
triadic
#7E801A #1A7E80 #801A7E
tetradic
#7E801A #1A804F #1C1A80 #801A4B
square
#7E801A #1A804F #1C1A80 #801A4B
split-complementary
#7E801A #1A4B80 #4F1A80
monochromatic
#1A1A05 #4C4D10 #7E801A #B0B324 #D5D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E801A#FFFFFF#000000##000000
##7E801A1.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)
#8B7A00
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#87776D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e801a;
/* rgb */ color: rgb(126, 128, 26);
/* oklch */ color: oklch(58.0% 0.118 110.7);
Tailwind
colors: {
  custom: {
    50: '#a7a460',
    500: '#7e801a',
    950: '#000000',
  },
}
SCSS
$custom: #7e801a;
$custom-light: #a7a460;
$custom-dark: #000000;
JSON
{
  "hex": "#7e801a",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 61.176,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57979,
    "c": 0.11805,
    "h": 110.7
  },
  "luminance": 0.19949
}

Semantic roles & 50–950 ramp

primary
#7E801A
secondary
#4442B4
accent
#3FE942
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7E801A

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

Preview Lab → · Contrast checker → · Palette generator →

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