#8E9518#8E9518

#8E9518 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.3% C 0.137 H 113.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8E9518
RGBrgb(142, 149, 24)
HSLhsl(63, 72%, 34%)
HSVhsv(63, 84%, 58%)
CMYKcmyk(4.7%, 0%, 83.9%, 41.6%)
CIE-LABlab(59.26, -17.09, 58.27)
CIE-LCHlch(59.26, 60.73, 106.35°)
OKLaboklab(64.3% -0.0536 0.1258)
OKLCHoklch(64.3% 0.137 113.1)
XYZxyz(22.0684, 27.3121, 4.9732)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9518 #1F1895
analogous
#955E18 #8E9518 #509518
triadic
#8E9518 #188E95 #95188E
tetradic
#8E9518 #18955E #1F1895 #951850
square
#8E9518 #18955E #1F1895 #951850
split-complementary
#8E9518 #185095 #5E1895
monochromatic
#2A2C07 #5C6010 #8E9518 #C0CA20 #D9E146

Accessibility & contrast

On white

3.25
#8E9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8E9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9518
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9518#FFFFFF#000000##000000
##8E95181.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#A19025
Tritanopia (blue-blind)
#988B7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e9518;
/* rgb */ color: rgb(142, 149, 24);
/* oklch */ color: oklch(64.3% 0.137 113.1);
Tailwind
colors: {
  custom: {
    50: '#b3b363',
    500: '#8e9518',
    950: '#000000',
  },
}
SCSS
$custom: #8e9518;
$custom-light: #b3b363;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9518",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 63.36,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.64297,
    "c": 0.13675,
    "h": 113.1
  },
  "luminance": 0.27312
}

Semantic roles & 50–950 ramp

primary
#8E9518
secondary
#4D46C2
accent
#39EF43
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9518

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

Preview Lab → · Contrast checker → · Palette generator →

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