#8D9B18#8D9B18

#8D9B18 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.6% C 0.144 H 116.2°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8D9B18
RGBrgb(141, 155, 24)
HSLhsl(66, 73%, 35%)
HSVhsv(66, 85%, 61%)
CMYKcmyk(9%, 0%, 84.5%, 39.2%)
CIE-LABlab(60.93, -20.61, 59.67)
CIE-LCHlch(60.93, 63.12, 109.06°)
OKLaboklab(65.62% -0.0633 0.1288)
OKLCHoklch(65.62% 0.144 116.2)
XYZxyz(22.8714, 29.1717, 5.2898)
Luminance0.2917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9B18 #26189B
analogous
#9B6718 #8D9B18 #4C9B18
triadic
#8D9B18 #188D9B #9B188D
tetradic
#8D9B18 #189B67 #26189B #9B184C
square
#8D9B18 #189B67 #26189B #9B184C
split-complementary
#8D9B18 #184C9B #67189B
monochromatic
#2D3108 #5D6610 #8D9B18 #BDD020 #D3E34A

Accessibility & contrast

On white

3.07
#8D9B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#8D9B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9B18
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9B18#FFFFFF#000000##000000
##8D9B181.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A59426
Tritanopia (blue-blind)
#979284
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9b18;
/* rgb */ color: rgb(141, 155, 24);
/* oklch */ color: oklch(65.6% 0.144 116.2);
Tailwind
colors: {
  custom: {
    50: '#b2b864',
    500: '#8d9b18',
    950: '#000000',
  },
}
SCSS
$custom: #8d9b18;
$custom-light: #b2b864;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9b18",
  "rgb": {
    "r": 141,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 66.412,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65618,
    "c": 0.14355,
    "h": 116.2
  },
  "luminance": 0.29171
}

Semantic roles & 50–950 ramp

primary
#8D9B18
secondary
#574AC5
accent
#38F04C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9B18

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

Preview Lab → · Contrast checker → · Palette generator →

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