#7E8919#7E8919

#7E8919 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.1% C 0.128 H 115.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7E8919
RGBrgb(126, 137, 25)
HSLhsl(66, 69%, 32%)
HSVhsv(66, 82%, 54%)
CMYKcmyk(8%, 0%, 81.8%, 46.3%)
CIE-LABlab(54.45, -17.98, 53.30)
CIE-LCHlch(54.45, 56.25, 108.64°)
OKLaboklab(60.11% -0.0552 0.116)
OKLCHoklch(60.11% 0.128 115.5)
XYZxyz(17.7258, 22.3974, 4.3089)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8919 #241989
analogous
#895C19 #7E8919 #468919
triadic
#7E8919 #197E89 #89197E
tetradic
#7E8919 #19895C #241989 #891946
square
#7E8919 #19895C #241989 #891946
split-complementary
#7E8919 #194689 #5C1989
monochromatic
#1F2106 #4E5510 #7E8919 #AEBD22 #CDDC40

Accessibility & contrast

On white

3.83
#7E8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7E8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8919
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8919#FFFFFF#000000##000000
##7E89191.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#878175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e8919;
/* rgb */ color: rgb(126, 137, 25);
/* oklch */ color: oklch(60.1% 0.128 115.5);
Tailwind
colors: {
  custom: {
    50: '#a7ab61',
    500: '#7e8919',
    950: '#000000',
  },
}
SCSS
$custom: #7e8919;
$custom-light: #a7ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8919",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 65.893,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.12843,
    "h": 115.5
  },
  "luminance": 0.22397
}

Semantic roles & 50–950 ramp

primary
#7E8919
secondary
#4E41BC
accent
#3CEC4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7E8919

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

Preview Lab → · Contrast checker → · Palette generator →

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