#8D9C28#8D9C28

#8D9C28 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.9% C 0.137 H 116.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8D9C28
RGBrgb(141, 156, 40)
HSLhsl(68, 59%, 38%)
HSVhsv(68, 74%, 61%)
CMYKcmyk(9.6%, 0%, 74.4%, 38.8%)
CIE-LABlab(61.30, -20.46, 55.14)
CIE-LCHlch(61.30, 58.81, 110.36°)
OKLaboklab(65.94% -0.0616 0.122)
OKLCHoklch(65.94% 0.137 116.8)
XYZxyz(23.2566, 29.5932, 6.4940)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9C28 #37289C
analogous
#9C7128 #8D9C28 #539C28
triadic
#8D9C28 #288D9C #9C288D
tetradic
#8D9C28 #289C71 #37289C #9C2853
square
#8D9C28 #289C71 #37289C #9C2853
split-complementary
#8D9C28 #28539C #71289C
monochromatic
#353B0F #616B1C #8D9C28 #B8CB36 #C9D867

Accessibility & contrast

On white

3.04
#8D9C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#8D9C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9C28
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9C28#FFFFFF#000000##000000
##8D9C281.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79410
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#969386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d9c28;
/* rgb */ color: rgb(141, 156, 40);
/* oklch */ color: oklch(65.9% 0.137 116.8);
Tailwind
colors: {
  custom: {
    50: '#b2b96b',
    500: '#8d9c28',
    950: '#000000',
  },
}
SCSS
$custom: #8d9c28;
$custom-light: #b2b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9c28",
  "rgb": {
    "r": 141,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 67.759,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65939,
    "c": 0.13672,
    "h": 116.8
  },
  "luminance": 0.29593
}

Semantic roles & 50–950 ramp

primary
#8D9C28
secondary
#6E62BE
accent
#45E25A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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