#8D9933#8D9933

#8D9933 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.3% C 0.126 H 115.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8D9933
RGBrgb(141, 153, 51)
HSLhsl(67, 50%, 40%)
HSVhsv(67, 67%, 60%)
CMYKcmyk(7.8%, 0%, 66.7%, 40%)
CIE-LABlab(60.50, -18.29, 50.07)
CIE-LCHlch(60.50, 53.31, 110.07°)
OKLaboklab(65.32% -0.0545 0.1132)
OKLCHoklch(65.32% 0.126 115.7)
XYZxyz(22.9738, 28.6845, 7.4578)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9933 #3F3399
analogous
#997233 #8D9933 #5A9933
triadic
#8D9933 #338D99 #99338D
tetradic
#8D9933 #339972 #3F3399 #99335A
square
#8D9933 #339972 #3F3399 #99335A
split-complementary
#8D9933 #335A99 #723399
monochromatic
#383D14 #636B24 #8D9933 #B3C247 #C6D175

Accessibility & contrast

On white

3.12
#8D9933 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8D9933 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9933
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9933#FFFFFF#000000##000000
##8D99331.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49125
Deuteranopia (green-blind)
#A3933A
Tritanopia (blue-blind)
#969084
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9933;
/* rgb */ color: rgb(141, 153, 51);
/* oklch */ color: oklch(65.3% 0.126 115.7);
Tailwind
colors: {
  custom: {
    50: '#b1b770',
    500: '#8d9933',
    950: '#000000',
  },
}
SCSS
$custom: #8d9933;
$custom-light: #b1b770;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9933",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 67.059,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.65321,
    "c": 0.12566,
    "h": 115.7
  },
  "luminance": 0.28684
}

Semantic roles & 50–950 ramp

primary
#8D9933
secondary
#776EB9
accent
#4EDA5F
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9933

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

Preview Lab → · Contrast checker → · Palette generator →

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