#8E9419#8E9419

#8E9419 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.1% C 0.135 H 112.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8E9419
RGBrgb(142, 148, 25)
HSLhsl(63, 71%, 34%)
HSVhsv(63, 83%, 58%)
CMYKcmyk(4.1%, 0%, 83.1%, 42%)
CIE-LABlab(58.98, -16.54, 57.76)
CIE-LCHlch(58.98, 60.08, 105.98°)
OKLaboklab(64.07% -0.0521 0.1249)
OKLCHoklch(64.07% 0.135 112.6)
XYZxyz(21.9215, 27.0013, 4.9765)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9419 #1F1994
analogous
#945D19 #8E9419 #519419
triadic
#8E9419 #198E94 #94198E
tetradic
#8E9419 #19945D #1F1994 #941951
square
#8E9419 #19945D #1F1994 #941951
split-complementary
#8E9419 #195194 #5D1994
monochromatic
#2A2B07 #5C6010 #8E9419 #C0C822 #D9E047

Accessibility & contrast

On white

3.28
#8E9419 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#8E9419 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9419
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9419#FFFFFF#000000##000000
##8E94191.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F25
Tritanopia (blue-blind)
#988A7E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8e9419;
/* rgb */ color: rgb(142, 148, 25);
/* oklch */ color: oklch(64.1% 0.135 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b363',
    500: '#8e9419',
    950: '#000000',
  },
}
SCSS
$custom: #8e9419;
$custom-light: #b3b363;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9419",
  "rgb": {
    "r": 142,
    "g": 148,
    "b": 25
  },
  "hsl": {
    "h": 62.927,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.64068,
    "c": 0.13528,
    "h": 112.6
  },
  "luminance": 0.27001
}

Semantic roles & 50–950 ramp

primary
#8E9419
secondary
#4D47C1
accent
#3AEE43
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9419

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

Preview Lab → · Contrast checker → · Palette generator →

#8E9419 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva