#8D9018#8D9018

#8D9018 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.0% C 0.132 H 111.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8D9018
RGBrgb(141, 144, 24)
HSLhsl(62, 71%, 33%)
HSVhsv(62, 83%, 56%)
CMYKcmyk(2.1%, 0%, 83.3%, 43.5%)
CIE-LABlab(57.73, -14.93, 56.92)
CIE-LCHlch(57.73, 58.85, 104.70°)
OKLaboklab(63.05% -0.0476 0.1229)
OKLCHoklch(63.05% 0.132 111.2)
XYZxyz(21.1234, 25.6758, 4.7072)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9018 #1B1890
analogous
#905718 #8D9018 #519018
triadic
#8D9018 #188D90 #90188D
tetradic
#8D9018 #189057 #1B1890 #901851
square
#8D9018 #189057 #1B1890 #901851
split-complementary
#8D9018 #185190 #571890
monochromatic
#262707 #5A5C0F #8D9018 #C0C421 #DCE043

Accessibility & contrast

On white

3.42
#8D9018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#8D9018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9018
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9018#FFFFFF#000000##000000
##8D90181.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9D8C24
Tritanopia (blue-blind)
#97867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d9018;
/* rgb */ color: rgb(141, 144, 24);
/* oklch */ color: oklch(63.0% 0.132 111.2);
Tailwind
colors: {
  custom: {
    50: '#b2b062',
    500: '#8d9018',
    950: '#000000',
  },
}
SCSS
$custom: #8d9018;
$custom-light: #b2b062;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9018",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 61.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.63048,
    "c": 0.13183,
    "h": 111.2
  },
  "luminance": 0.25675
}

Semantic roles & 50–950 ramp

primary
#8D9018
secondary
#4643C0
accent
#3AEE3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9018

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

Preview Lab → · Contrast checker → · Palette generator →

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