#8D9D26#8D9D26

#8D9D26 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.2% C 0.139 H 117.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D9D26
RGBrgb(141, 157, 38)
HSLhsl(68, 61%, 38%)
HSVhsv(68, 76%, 62%)
CMYKcmyk(10.2%, 0%, 75.8%, 38.4%)
CIE-LABlab(61.58, -21.07, 56.10)
CIE-LCHlch(61.58, 59.93, 110.58°)
OKLaboklab(66.16% -0.0635 0.1237)
OKLCHoklch(66.16% 0.139 117.2)
XYZxyz(23.3919, 29.9169, 6.3756)
Luminance0.2992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D26 #36269D
analogous
#9D7126 #8D9D26 #519D26
triadic
#8D9D26 #268D9D #9D268D
tetradic
#8D9D26 #269D71 #36269D #9D2651
square
#8D9D26 #269D71 #36269D #9D2651
split-complementary
#8D9D26 #26519D #71269D
monochromatic
#343A0E #616C1A #8D9D26 #B9CE33 #CAD964

Accessibility & contrast

On white

3.01
#8D9D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8D9D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9D26
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D26#FFFFFF#000000##000000
##8D9D261.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940A
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#969486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d26;
/* rgb */ color: rgb(141, 157, 38);
/* oklch */ color: oklch(66.2% 0.139 117.2);
Tailwind
colors: {
  custom: {
    50: '#b2b96a',
    500: '#8d9d26',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d26;
$custom-light: #b2b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d26",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 38
  },
  "hsl": {
    "h": 68.067,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66161,
    "c": 0.13906,
    "h": 117.2
  },
  "luminance": 0.29917
}

Semantic roles & 50–950 ramp

primary
#8D9D26
secondary
#6D60BF
accent
#44E459
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9D26

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

Preview Lab → · Contrast checker → · Palette generator →

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