#7E8519#7E8519

#7E8519 is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.2% C 0.124 H 113.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7E8519
RGBrgb(126, 133, 25)
HSLhsl(64, 68%, 31%)
HSVhsv(64, 81%, 52%)
CMYKcmyk(5.3%, 0%, 81.2%, 47.8%)
CIE-LABlab(53.26, -15.88, 52.25)
CIE-LCHlch(53.26, 54.61, 106.91°)
OKLaboklab(59.16% -0.0494 0.1137)
OKLCHoklch(59.16% 0.124 113.5)
XYZxyz(17.1677, 21.2812, 4.1228)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8519 #201985
analogous
#855619 #7E8519 #488519
triadic
#7E8519 #197E85 #85197E
tetradic
#7E8519 #198556 #201985 #851948
square
#7E8519 #198556 #201985 #851948
split-complementary
#7E8519 #194885 #561985
monochromatic
#1C1E06 #4D510F #7E8519 #AFB923 #D0DB3E

Accessibility & contrast

On white

4.00
#7E8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7E8519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8519
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8519#FFFFFF#000000##000000
##7E85191.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#877D71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e8519;
/* rgb */ color: rgb(126, 133, 25);
/* oklch */ color: oklch(59.2% 0.124 113.5);
Tailwind
colors: {
  custom: {
    50: '#a7a861',
    500: '#7e8519',
    950: '#000000',
  },
}
SCSS
$custom: #7e8519;
$custom-light: #a7a861;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8519",
  "rgb": {
    "r": 126,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 63.889,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5916,
    "c": 0.12397,
    "h": 113.5
  },
  "luminance": 0.21281
}

Semantic roles & 50–950 ramp

primary
#7E8519
secondary
#4941B9
accent
#3DEB48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7E8519

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

Preview Lab → · Contrast checker → · Palette generator →

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