#8D9F18#8D9F18

#8D9F18 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.11:1 contrast (WCAG AA passes).

Color values

HEX#8D9F18
RGBrgb(141, 159, 24)
HSLhsl(68, 74%, 36%)
HSVhsv(68, 85%, 62%)
CMYKcmyk(11.3%, 0%, 84.9%, 37.6%)
CIE-LABlab(62.10, -22.63, 60.66)
CIE-LCHlch(62.10, 64.74, 110.45°)
OKLaboklab(66.56% -0.0688 0.131)
OKLCHoklch(66.56% 0.148 117.7)
XYZxyz(23.5481, 30.5252, 5.5154)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F18 #2A189F
analogous
#9F6D18 #8D9F18 #499F18
triadic
#8D9F18 #188D9F #9F188D
tetradic
#8D9F18 #189F6D #2A189F #9F1849
square
#8D9F18 #189F6D #2A189F #9F1849
split-complementary
#8D9F18 #18499F #6D189F
monochromatic
#2F3508 #5E6A10 #8D9F18 #BCD420 #D0E44D

Accessibility & contrast

On white

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

On black

7.11
#8D9F18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9F18
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9F18#FFFFFF#000000##000000
##8D9F181.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d9f18;
/* rgb */ color: rgb(141, 159, 24);
/* oklch */ color: oklch(66.6% 0.148 117.7);
Tailwind
colors: {
  custom: {
    50: '#b2bb65',
    500: '#8d9f18',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f18;
$custom-light: #b2bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f18",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 68,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66561,
    "c": 0.14797,
    "h": 117.7
  },
  "luminance": 0.30525
}

Semantic roles & 50–950 ramp

primary
#8D9F18
secondary
#5D4DC6
accent
#37F050
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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