#8D9F17#8D9F17

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

Color values

HEX#8D9F17
RGBrgb(141, 159, 23)
HSLhsl(68, 75%, 36%)
HSVhsv(68, 86%, 62%)
CMYKcmyk(11.3%, 0%, 85.5%, 37.6%)
CIE-LABlab(62.10, -22.66, 60.90)
CIE-LCHlch(62.10, 64.98, 110.41°)
OKLaboklab(66.56% -0.0689 0.1313)
OKLCHoklch(66.56% 0.148 117.7)
XYZxyz(23.5379, 30.5211, 5.4616)
Luminance0.3052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F17 #29179F
analogous
#9F6D17 #8D9F17 #499F17
triadic
#8D9F17 #178D9F #9F178D
tetradic
#8D9F17 #179F6D #29179F #9F1749
square
#8D9F17 #179F6D #29179F #9F1749
split-complementary
#8D9F17 #17499F #6D179F
monochromatic
#2E3408 #5E6A0F #8D9F17 #BCD41F #D1E54B

Accessibility & contrast

On white

2.96
#8D9F17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#8D9F17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9F17
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9F17#FFFFFF#000000##000000
##8D9F171.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d9f17;
/* rgb */ color: rgb(141, 159, 23);
/* oklch */ color: oklch(66.6% 0.148 117.7);
Tailwind
colors: {
  custom: {
    50: '#b2bb64',
    500: '#8d9f17',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f17;
$custom-light: #b2bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f17",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 23
  },
  "hsl": {
    "h": 67.941,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.66557,
    "c": 0.14834,
    "h": 117.7
  },
  "luminance": 0.30521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D9F17

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

Preview Lab → · Contrast checker → · Palette generator →

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