#8D9628#8D9628

#8D9628 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.5% C 0.130 H 114.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8D9628
RGBrgb(141, 150, 40)
HSLhsl(65, 58%, 37%)
HSVhsv(65, 73%, 59%)
CMYKcmyk(6%, 0%, 73.3%, 41.2%)
CIE-LABlab(59.55, -17.39, 53.46)
CIE-LCHlch(59.55, 56.21, 108.02°)
OKLaboklab(64.54% -0.0531 0.1185)
OKLCHoklch(64.54% 0.13 114.1)
XYZxyz(22.2745, 27.6290, 6.1666)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9628 #312896
analogous
#966828 #8D9628 #569628
triadic
#8D9628 #288D96 #96288D
tetradic
#8D9628 #289668 #312896 #962856
square
#8D9628 #289668 #312896 #962856
split-complementary
#8D9628 #285696 #682896
monochromatic
#32350E #60661B #8D9628 #BAC635 #CCD563

Accessibility & contrast

On white

3.22
#8D9628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8D9628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9628
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9628#FFFFFF#000000##000000
##8D96281.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E13
Deuteranopia (green-blind)
#A19031
Tritanopia (blue-blind)
#968D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d9628;
/* rgb */ color: rgb(141, 150, 40);
/* oklch */ color: oklch(64.5% 0.130 114.1);
Tailwind
colors: {
  custom: {
    50: '#b1b46a',
    500: '#8d9628',
    950: '#000000',
  },
}
SCSS
$custom: #8d9628;
$custom-light: #b1b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9628",
  "rgb": {
    "r": 141,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 64.909,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64535,
    "c": 0.12985,
    "h": 114.1
  },
  "luminance": 0.27629
}

Semantic roles & 50–950 ramp

primary
#8D9628
secondary
#665FBB
accent
#47E153
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9628

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

Preview Lab → · Contrast checker → · Palette generator →

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