#7E801E#7E801E

#7E801E 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#7E801E
RGBrgb(126, 128, 30)
HSLhsl(61, 62%, 31%)
HSVhsv(61, 77%, 50%)
CMYKcmyk(1.6%, 0%, 76.6%, 49.8%)
CIE-LABlab(51.80, -12.99, 49.27)
CIE-LCHlch(51.80, 50.95, 104.78°)
OKLaboklab(58% -0.041 0.1083)
OKLCHoklch(58% 0.116 110.7)
XYZxyz(16.5583, 19.9682, 4.2100)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E801E #201E80
analogous
#80511E #7E801E #4D801E
triadic
#7E801E #1E7E80 #801E7E
tetradic
#7E801E #1E8051 #201E80 #801E4D
square
#7E801E #1E8051 #201E80 #801E4D
split-complementary
#7E801E #1E4D80 #511E80
monochromatic
#1C1D07 #4D4E12 #7E801E #AFB22A #D0D345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E801E#FFFFFF#000000##000000
##7E801E1.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)
#8B7A08
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#87786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e801e;
/* rgb */ color: rgb(126, 128, 30);
/* oklch */ color: oklch(58.0% 0.116 110.7);
Tailwind
colors: {
  custom: {
    50: '#a7a462',
    500: '#7e801e',
    950: '#000000',
  },
}
SCSS
$custom: #7e801e;
$custom-light: #a7a462;
$custom-dark: #000000;
JSON
{
  "hex": "#7e801e",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 61.224,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.11581,
    "h": 110.7
  },
  "luminance": 0.19968
}

Semantic roles & 50–950 ramp

primary
#7E801E
secondary
#4947B3
accent
#43E546
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7E801E

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

Preview Lab → · Contrast checker → · Palette generator →

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