#7E8419#7E8419

#7E8419 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.9% C 0.123 H 113.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7E8419
RGBrgb(126, 132, 25)
HSLhsl(63, 68%, 31%)
HSVhsv(63, 81%, 52%)
CMYKcmyk(4.5%, 0%, 81.1%, 48.2%)
CIE-LABlab(52.96, -15.35, 51.98)
CIE-LCHlch(52.96, 54.20, 106.45°)
OKLaboklab(58.92% -0.0479 0.1131)
OKLCHoklch(58.92% 0.123 113)
XYZxyz(17.0315, 21.0087, 4.0774)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8419 #1F1984
analogous
#845419 #7E8419 #498419
triadic
#7E8419 #197E84 #84197E
tetradic
#7E8419 #198454 #1F1984 #841949
square
#7E8419 #198454 #1F1984 #841949
split-complementary
#7E8419 #194984 #541984
monochromatic
#1C1D06 #4D510F #7E8419 #AFB723 #D1DA3D

Accessibility & contrast

On white

4.04
#7E8419 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7E8419 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8419
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8419#FFFFFF#000000##000000
##7E84191.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#877C70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8419;
/* rgb */ color: rgb(126, 132, 25);
/* oklch */ color: oklch(58.9% 0.123 113.0);
Tailwind
colors: {
  custom: {
    50: '#a7a761',
    500: '#7e8419',
    950: '#000000',
  },
}
SCSS
$custom: #7e8419;
$custom-light: #a7a761;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8419",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 63.364,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58922,
    "c": 0.12288,
    "h": 113
  },
  "luminance": 0.21008
}

Semantic roles & 50–950 ramp

primary
#7E8419
secondary
#4841B8
accent
#3DEB47
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7E8419

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

Preview Lab → · Contrast checker → · Palette generator →

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