#8D9726#8D9726

#8D9726 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.8% C 0.132 H 114.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8D9726
RGBrgb(141, 151, 38)
HSLhsl(65, 60%, 37%)
HSVhsv(65, 75%, 59%)
CMYKcmyk(6.6%, 0%, 74.8%, 40.8%)
CIE-LABlab(59.83, -18.01, 54.44)
CIE-LCHlch(59.83, 57.34, 108.30°)
OKLaboklab(64.75% -0.055 0.1202)
OKLCHoklch(64.75% 0.132 114.6)
XYZxyz(22.4016, 27.9363, 6.0455)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9726 #302697
analogous
#976926 #8D9726 #549726
triadic
#8D9726 #268D97 #97268D
tetradic
#8D9726 #269769 #302697 #972654
square
#8D9726 #269769 #302697 #972654
split-complementary
#8D9726 #265497 #692697
monochromatic
#32350D #5F661A #8D9726 #BBC832 #CDD760

Accessibility & contrast

On white

3.19
#8D9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#8D9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9726
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9726#FFFFFF#000000##000000
##8D97261.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0E
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#968E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d9726;
/* rgb */ color: rgb(141, 151, 38);
/* oklch */ color: oklch(64.8% 0.132 114.6);
Tailwind
colors: {
  custom: {
    50: '#b2b569',
    500: '#8d9726',
    950: '#000000',
  },
}
SCSS
$custom: #8d9726;
$custom-light: #b2b569;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9726",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 65.31,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64754,
    "c": 0.1322,
    "h": 114.6
  },
  "luminance": 0.27936
}

Semantic roles & 50–950 ramp

primary
#8D9726
secondary
#655CBC
accent
#45E353
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9726

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

Preview Lab → · Contrast checker → · Palette generator →

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