#8E8F19#8E8F19

#8E8F19 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.130 H 110.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8E8F19
RGBrgb(142, 143, 25)
HSLhsl(61, 70%, 33%)
HSVhsv(61, 83%, 56%)
CMYKcmyk(0.7%, 0%, 82.5%, 43.9%)
CIE-LABlab(57.53, -13.92, 56.51)
CIE-LCHlch(57.53, 58.20, 103.84°)
OKLaboklab(62.91% -0.0448 0.1222)
OKLCHoklch(62.91% 0.13 110.1)
XYZxyz(21.1541, 25.4665, 4.7207)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8F19 #1A198F
analogous
#8F5519 #8E8F19 #538F19
triadic
#8E8F19 #198E8F #8F198E
tetradic
#8E8F19 #198F55 #1A198F #8F1953
square
#8E8F19 #198F55 #1A198F #8F1953
split-complementary
#8E8F19 #19538F #55198F
monochromatic
#272707 #5A5B10 #8E8F19 #C2C322 #DDDE44

Accessibility & contrast

On white

3.45
#8E8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8E8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8F19
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8F19#FFFFFF#000000##000000
##8E8F191.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8C24
Tritanopia (blue-blind)
#99857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8e8f19;
/* rgb */ color: rgb(142, 143, 25);
/* oklch */ color: oklch(62.9% 0.130 110.1);
Tailwind
colors: {
  custom: {
    50: '#b3af62',
    500: '#8e8f19',
    950: '#000000',
  },
}
SCSS
$custom: #8e8f19;
$custom-light: #b3af62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8f19",
  "rgb": {
    "r": 142,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 60.508,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62909,
    "c": 0.13013,
    "h": 110.1
  },
  "luminance": 0.25466
}

Semantic roles & 50–950 ramp

primary
#8E8F19
secondary
#4544BF
accent
#3BED3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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