#7E8619#7E8619

#7E8619 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.4% C 0.125 H 114.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7E8619
RGBrgb(126, 134, 25)
HSLhsl(64, 69%, 31%)
HSVhsv(64, 81%, 53%)
CMYKcmyk(6%, 0%, 81.3%, 47.5%)
CIE-LABlab(53.55, -16.41, 52.51)
CIE-LCHlch(53.55, 55.02, 107.35°)
OKLaboklab(59.4% -0.0509 0.1143)
OKLCHoklch(59.4% 0.125 114)
XYZxyz(17.3053, 21.5564, 4.1687)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8619 #211986
analogous
#865719 #7E8619 #478619
triadic
#7E8619 #197E86 #86197E
tetradic
#7E8619 #198657 #211986 #861947
square
#7E8619 #198657 #211986 #861947
split-complementary
#7E8619 #194786 #571986
monochromatic
#1D1F06 #4D520F #7E8619 #AEBA23 #D0DB3E

Accessibility & contrast

On white

3.95
#7E8619 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7E8619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8619
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8619#FFFFFF#000000##000000
##7E86191.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#877E72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8619;
/* rgb */ color: rgb(126, 134, 25);
/* oklch */ color: oklch(59.4% 0.125 114.0);
Tailwind
colors: {
  custom: {
    50: '#a7a961',
    500: '#7e8619',
    950: '#000000',
  },
}
SCSS
$custom: #7e8619;
$custom-light: #a7a961;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8619",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 25
  },
  "hsl": {
    "h": 64.404,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59398,
    "c": 0.12508,
    "h": 114
  },
  "luminance": 0.21556
}

Semantic roles & 50–950 ramp

primary
#7E8619
secondary
#4A41BA
accent
#3CEB49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7E8619

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

Preview Lab → · Contrast checker → · Palette generator →

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