#8D9A28#8D9A28

#8D9A28 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.5% C 0.134 H 115.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8D9A28
RGBrgb(141, 154, 40)
HSLhsl(67, 59%, 38%)
HSVhsv(67, 74%, 60%)
CMYKcmyk(8.4%, 0%, 74%, 39.6%)
CIE-LABlab(60.72, -19.45, 54.58)
CIE-LCHlch(60.72, 57.94, 109.61°)
OKLaboklab(65.47% -0.0588 0.1209)
OKLCHoklch(65.47% 0.134 115.9)
XYZxyz(22.9237, 28.9275, 6.3830)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9A28 #35289A
analogous
#9A6E28 #8D9A28 #549A28
triadic
#8D9A28 #288D9A #9A288D
tetradic
#8D9A28 #289A6E #35289A #9A2854
square
#8D9A28 #289A6E #35289A #9A2854
split-complementary
#8D9A28 #28549A #6E289A
monochromatic
#34390F #61691B #8D9A28 #B9CA35 #CAD765

Accessibility & contrast

On white

3.09
#8D9A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8D9A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9A28
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9A28#FFFFFF#000000##000000
##8D9A281.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59211
Deuteranopia (green-blind)
#A49331
Tritanopia (blue-blind)
#969184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9a28;
/* rgb */ color: rgb(141, 154, 40);
/* oklch */ color: oklch(65.5% 0.134 115.9);
Tailwind
colors: {
  custom: {
    50: '#b1b76b',
    500: '#8d9a28',
    950: '#000000',
  },
}
SCSS
$custom: #8d9a28;
$custom-light: #b1b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9a28",
  "rgb": {
    "r": 141,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 66.842,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6547,
    "c": 0.13441,
    "h": 115.9
  },
  "luminance": 0.28927
}

Semantic roles & 50–950 ramp

primary
#8D9A28
secondary
#6B61BD
accent
#46E258
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9A28

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

Preview Lab → · Contrast checker → · Palette generator →

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