#8E9F18#8E9F18

#8E9F18 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.6% C 0.148 H 117.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8E9F18
RGBrgb(142, 159, 24)
HSLhsl(68, 74%, 36%)
HSVhsv(68, 85%, 62%)
CMYKcmyk(10.7%, 0%, 84.9%, 37.6%)
CIE-LABlab(62.18, -22.19, 60.76)
CIE-LCHlch(62.18, 64.68, 110.06°)
OKLaboklab(66.64% -0.0677 0.1312)
OKLCHoklch(66.64% 0.148 117.3)
XYZxyz(23.7190, 30.6133, 5.5234)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9F18 #29189F
analogous
#9F6C18 #8E9F18 #4A9F18
triadic
#8E9F18 #188E9F #9F188E
tetradic
#8E9F18 #189F6C #29189F #9F184A
square
#8E9F18 #189F6C #29189F #9F184A
split-complementary
#8E9F18 #184A9F #6C189F
monochromatic
#2F3508 #5F6A10 #8E9F18 #BDD420 #D1E44D

Accessibility & contrast

On white

2.95
#8E9F18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#8E9F18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9F18
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9F18#FFFFFF#000000##000000
##8E9F181.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A99727
Tritanopia (blue-blind)
#979687
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e9f18;
/* rgb */ color: rgb(142, 159, 24);
/* oklch */ color: oklch(66.6% 0.148 117.3);
Tailwind
colors: {
  custom: {
    50: '#b3bb65',
    500: '#8e9f18',
    950: '#000000',
  },
}
SCSS
$custom: #8e9f18;
$custom-light: #b3bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9f18",
  "rgb": {
    "r": 142,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 67.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6664,
    "c": 0.14759,
    "h": 117.3
  },
  "luminance": 0.30613
}

Semantic roles & 50–950 ramp

primary
#8E9F18
secondary
#5C4DC6
accent
#37F04F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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