#8E8A19#8E8A19

#8E8A19 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.125 H 107.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8E8A19
RGBrgb(142, 138, 25)
HSLhsl(58, 70%, 33%)
HSVhsv(58, 82%, 56%)
CMYKcmyk(0%, 2.8%, 82.4%, 44.3%)
CIE-LABlab(56.09, -11.25, 55.26)
CIE-LCHlch(56.09, 56.40, 101.51°)
OKLaboklab(61.76% -0.0374 0.1195)
OKLCHoklch(61.76% 0.125 107.4)
XYZxyz(20.4201, 23.9987, 4.4761)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A19 #191D8E
analogous
#8E5019 #8E8A19 #578E19
triadic
#8E8A19 #198E8A #8A198E
tetradic
#8E8A19 #198E50 #191D8E #8E1957
square
#8E8A19 #198E50 #191D8E #8E1957
split-complementary
#8E8A19 #19578E #50198E
monochromatic
#262507 #5A5710 #8E8A19 #C2BD22 #DED943

Accessibility & contrast

On white

3.62
#8E8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8E8A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A19
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A19#FFFFFF#000000##000000
##8E8A191.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#998076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e8a19;
/* rgb */ color: rgb(142, 138, 25);
/* oklch */ color: oklch(61.8% 0.125 107.4);
Tailwind
colors: {
  custom: {
    50: '#b3ab62',
    500: '#8e8a19',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a19;
$custom-light: #b3ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a19",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 57.949,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61758,
    "c": 0.12519,
    "h": 107.4
  },
  "luminance": 0.23998
}

Semantic roles & 50–950 ramp

primary
#8E8A19
secondary
#4448BF
accent
#41ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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