#7E8E19#7E8E19

#7E8E19 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.3% C 0.134 H 117.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7E8E19
RGBrgb(126, 142, 25)
HSLhsl(68, 70%, 33%)
HSVhsv(68, 82%, 56%)
CMYKcmyk(11.3%, 0%, 82.4%, 44.3%)
CIE-LABlab(55.94, -20.56, 54.62)
CIE-LCHlch(55.94, 58.37, 110.63°)
OKLaboklab(61.32% -0.0623 0.1188)
OKLCHoklch(61.32% 0.134 117.7)
XYZxyz(18.4531, 23.8520, 4.5513)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8E19 #29198E
analogous
#8E6319 #7E8E19 #448E19
triadic
#7E8E19 #197E8E #8E197E
tetradic
#7E8E19 #198E63 #29198E #8E1944
square
#7E8E19 #198E63 #29198E #8E1944
split-complementary
#7E8E19 #19448E #63198E
monochromatic
#222607 #505A10 #7E8E19 #ACC222 #C9DE43

Accessibility & contrast

On white

3.64
#7E8E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7E8E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8E19
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8E19#FFFFFF#000000##000000
##7E8E191.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#868679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8e19;
/* rgb */ color: rgb(126, 142, 25);
/* oklch */ color: oklch(61.3% 0.134 117.7);
Tailwind
colors: {
  custom: {
    50: '#a7af62',
    500: '#7e8e19',
    950: '#000000',
  },
}
SCSS
$custom: #7e8e19;
$custom-light: #a7af62;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8e19",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 68.205,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61315,
    "c": 0.13413,
    "h": 117.7
  },
  "luminance": 0.23852
}

Semantic roles & 50–950 ramp

primary
#7E8E19
secondary
#5544BF
accent
#3BED53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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