#8D9428#8D9428

#8D9428 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.1% C 0.128 H 113.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8D9428
RGBrgb(141, 148, 40)
HSLhsl(64, 57%, 37%)
HSVhsv(64, 73%, 58%)
CMYKcmyk(4.7%, 0%, 73%, 42%)
CIE-LABlab(58.97, -16.35, 52.89)
CIE-LCHlch(58.97, 55.36, 107.18°)
OKLaboklab(64.07% -0.0502 0.1173)
OKLCHoklch(64.07% 0.128 113.2)
XYZxyz(21.9581, 26.9962, 6.0612)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9428 #2F2894
analogous
#946528 #8D9428 #579428
triadic
#8D9428 #288D94 #94288D
tetradic
#8D9428 #289465 #2F2894 #942857
square
#8D9428 #289465 #2F2894 #942857
split-complementary
#8D9428 #285794 #652894
monochromatic
#31340E #5F641B #8D9428 #BBC435 #CDD562

Accessibility & contrast

On white

3.28
#8D9428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#8D9428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9428
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9428#FFFFFF#000000##000000
##8D94281.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D14
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#978B7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d9428;
/* rgb */ color: rgb(141, 148, 40);
/* oklch */ color: oklch(64.1% 0.128 113.2);
Tailwind
colors: {
  custom: {
    50: '#b1b36a',
    500: '#8d9428',
    950: '#000000',
  },
}
SCSS
$custom: #8d9428;
$custom-light: #b1b36a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9428",
  "rgb": {
    "r": 141,
    "g": 148,
    "b": 40
  },
  "hsl": {
    "h": 63.889,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64069,
    "c": 0.1276,
    "h": 113.2
  },
  "luminance": 0.26996
}

Semantic roles & 50–950 ramp

primary
#8D9428
secondary
#645EBA
accent
#47E151
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9428

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

Preview Lab → · Contrast checker → · Palette generator →

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