#8E9F17#8E9F17

#8E9F17 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#8E9F17
RGBrgb(142, 159, 23)
HSLhsl(68, 75%, 36%)
HSVhsv(68, 86%, 62%)
CMYKcmyk(10.7%, 0%, 85.5%, 37.6%)
CIE-LABlab(62.18, -22.22, 60.99)
CIE-LCHlch(62.18, 64.91, 110.02°)
OKLaboklab(66.64% -0.0678 0.1315)
OKLCHoklch(66.64% 0.148 117.3)
XYZxyz(23.7088, 30.6092, 5.4696)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9F17 #28179F
analogous
#9F6C17 #8E9F17 #4A9F17
triadic
#8E9F17 #178E9F #9F178E
tetradic
#8E9F17 #179F6C #28179F #9F174A
square
#8E9F17 #179F6C #28179F #9F174A
split-complementary
#8E9F17 #174A9F #6C179F
monochromatic
#2E3408 #5E6A0F #8E9F17 #BED41F #D2E54B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E9F17#FFFFFF#000000##000000
##8E9F171.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: #8e9f17;
/* rgb */ color: rgb(142, 159, 23);
/* oklch */ color: oklch(66.6% 0.148 117.3);
Tailwind
colors: {
  custom: {
    50: '#b3bb64',
    500: '#8e9f17',
    950: '#000000',
  },
}
SCSS
$custom: #8e9f17;
$custom-light: #b3bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9f17",
  "rgb": {
    "r": 142,
    "g": 159,
    "b": 23
  },
  "hsl": {
    "h": 67.5,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.66636,
    "c": 0.14795,
    "h": 117.3
  },
  "luminance": 0.30609
}

Semantic roles & 50–950 ramp

primary
#8E9F17
secondary
#5B4BC7
accent
#36F14E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9F17

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

Preview Lab → · Contrast checker → · Palette generator →

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