#8E9D18#8E9D18

#8E9D18 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.2% C 0.145 H 116.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8E9D18
RGBrgb(142, 157, 24)
HSLhsl(67, 73%, 35%)
HSVhsv(67, 85%, 62%)
CMYKcmyk(9.6%, 0%, 84.7%, 38.4%)
CIE-LABlab(61.59, -21.19, 60.26)
CIE-LCHlch(61.59, 63.87, 109.37°)
OKLaboklab(66.17% -0.0649 0.1301)
OKLCHoklch(66.17% 0.145 116.5)
XYZxyz(23.3778, 29.9310, 5.4097)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9D18 #27189D
analogous
#9D6918 #8E9D18 #4B9D18
triadic
#8E9D18 #188E9D #9D188E
tetradic
#8E9D18 #189D69 #27189D #9D184B
square
#8E9D18 #189D69 #27189D #9D184B
split-complementary
#8E9D18 #184B9D #69189D
monochromatic
#2E3308 #5E6810 #8E9D18 #BED220 #D2E44C

Accessibility & contrast

On white

3.01
#8E9D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8E9D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9D18
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9D18#FFFFFF#000000##000000
##8E9D181.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A79627
Tritanopia (blue-blind)
#989486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8e9d18;
/* rgb */ color: rgb(142, 157, 24);
/* oklch */ color: oklch(66.2% 0.145 116.5);
Tailwind
colors: {
  custom: {
    50: '#b3b964',
    500: '#8e9d18',
    950: '#000000',
  },
}
SCSS
$custom: #8e9d18;
$custom-light: #b3b964;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9d18",
  "rgb": {
    "r": 142,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 66.767,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66169,
    "c": 0.14538,
    "h": 116.5
  },
  "luminance": 0.29931
}

Semantic roles & 50–950 ramp

primary
#8E9D18
secondary
#594BC5
accent
#38F04C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9D18

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

Preview Lab → · Contrast checker → · Palette generator →

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