#8D9826#8D9826

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

Color values

HEX#8D9826
RGBrgb(141, 152, 38)
HSLhsl(66, 60%, 37%)
HSVhsv(66, 75%, 60%)
CMYKcmyk(7.2%, 0%, 75%, 40.4%)
CIE-LABlab(60.12, -18.52, 54.72)
CIE-LCHlch(60.12, 57.77, 108.70°)
OKLaboklab(64.99% -0.0564 0.1208)
OKLCHoklch(64.99% 0.133 115)
XYZxyz(22.5632, 28.2595, 6.0994)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9826 #312698
analogous
#986A26 #8D9826 #549826
triadic
#8D9826 #268D98 #98268D
tetradic
#8D9826 #26986A #312698 #982654
square
#8D9826 #26986A #312698 #982654
split-complementary
#8D9826 #265498 #6A2698
monochromatic
#32360E #60671A #8D9826 #BAC932 #CCD761

Accessibility & contrast

On white

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

On black

6.65
#8D9826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9826
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9826#FFFFFF#000000##000000
##8D98261.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d9826;
/* rgb */ color: rgb(141, 152, 38);
/* oklch */ color: oklch(65.0% 0.133 115.0);
Tailwind
colors: {
  custom: {
    50: '#b2b669',
    500: '#8d9826',
    950: '#000000',
  },
}
SCSS
$custom: #8d9826;
$custom-light: #b2b669;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9826",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 65.789,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64988,
    "c": 0.13334,
    "h": 115
  },
  "luminance": 0.28259
}

Semantic roles & 50–950 ramp

primary
#8D9826
secondary
#665DBD
accent
#45E354
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9826

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

Preview Lab → · Contrast checker → · Palette generator →

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