#8D9829#8D9829

#8D9829 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.131 H 115.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8D9829
RGBrgb(141, 152, 41)
HSLhsl(66, 58%, 38%)
HSVhsv(66, 73%, 60%)
CMYKcmyk(7.2%, 0%, 73%, 40.4%)
CIE-LABlab(60.14, -18.37, 53.66)
CIE-LCHlch(60.14, 56.71, 108.90°)
OKLaboklab(65.01% -0.0557 0.1191)
OKLCHoklch(65.01% 0.131 115.1)
XYZxyz(22.6136, 28.2797, 6.3647)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9829 #342998
analogous
#986B29 #8D9829 #559829
triadic
#8D9829 #298D98 #98298D
tetradic
#8D9829 #29986B #342998 #982955
square
#8D9829 #29986B #342998 #982955
split-complementary
#8D9829 #295598 #6B2998
monochromatic
#34380F #60681C #8D9829 #BAC836 #CBD666

Accessibility & contrast

On white

3.16
#8D9829 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8D9829 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9829
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9829#FFFFFF#000000##000000
##8D98291.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39014
Deuteranopia (green-blind)
#A29232
Tritanopia (blue-blind)
#968F82
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d9829;
/* rgb */ color: rgb(141, 152, 41);
/* oklch */ color: oklch(65.0% 0.131 115.1);
Tailwind
colors: {
  custom: {
    50: '#b1b66b',
    500: '#8d9829',
    950: '#000000',
  },
}
SCSS
$custom: #8d9829;
$custom-light: #b1b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9829",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 41
  },
  "hsl": {
    "h": 65.946,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65008,
    "c": 0.13149,
    "h": 115.1
  },
  "luminance": 0.28279
}

Semantic roles & 50–950 ramp

primary
#8D9829
secondary
#6A61BC
accent
#47E156
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9829

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

Preview Lab → · Contrast checker → · Palette generator →

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