#8D9526#8D9526

#8D9526 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.3% C 0.130 H 113.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8D9526
RGBrgb(141, 149, 38)
HSLhsl(64, 59%, 37%)
HSVhsv(64, 74%, 58%)
CMYKcmyk(5.4%, 0%, 74.5%, 41.6%)
CIE-LABlab(59.25, -16.97, 53.89)
CIE-LCHlch(59.25, 56.50, 107.48°)
OKLaboklab(64.29% -0.0521 0.1191)
OKLCHoklch(64.29% 0.13 113.6)
XYZxyz(22.0825, 27.2980, 5.9391)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9526 #2E2695
analogous
#956626 #8D9526 #569526
triadic
#8D9526 #268D95 #95268D
tetradic
#8D9526 #269566 #2E2695 #952656
square
#8D9526 #269566 #2E2695 #952656
split-complementary
#8D9526 #265695 #662695
monochromatic
#31330D #5F641A #8D9526 #BBC632 #CED65F

Accessibility & contrast

On white

3.25
#8D9526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8D9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9526
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9526#FFFFFF#000000##000000
##8D95261.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E0F
Deuteranopia (green-blind)
#A0902F
Tritanopia (blue-blind)
#978C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d9526;
/* rgb */ color: rgb(141, 149, 38);
/* oklch */ color: oklch(64.3% 0.130 113.6);
Tailwind
colors: {
  custom: {
    50: '#b2b469',
    500: '#8d9526',
    950: '#000000',
  },
}
SCSS
$custom: #8d9526;
$custom-light: #b2b469;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9526",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 64.324,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64288,
    "c": 0.12996,
    "h": 113.6
  },
  "luminance": 0.27298
}

Semantic roles & 50–950 ramp

primary
#8D9526
secondary
#625BBB
accent
#45E351
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9526

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

Preview Lab → · Contrast checker → · Palette generator →

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