#8D9730#8D9730

#8D9730 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.8% C 0.126 H 114.7°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8D9730
RGBrgb(141, 151, 48)
HSLhsl(66, 52%, 39%)
HSVhsv(66, 68%, 59%)
CMYKcmyk(6.6%, 0%, 68.2%, 40.8%)
CIE-LABlab(59.90, -17.45, 50.69)
CIE-LCHlch(59.90, 53.61, 109.00°)
OKLaboklab(64.83% -0.0525 0.114)
OKLCHoklch(64.83% 0.126 114.7)
XYZxyz(22.5852, 28.0097, 7.0124)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9730 #3A3097
analogous
#976E30 #8D9730 #5A9730
triadic
#8D9730 #308D97 #97308D
tetradic
#8D9730 #30976E #3A3097 #97305A
square
#8D9730 #30976E #3A3097 #97305A
split-complementary
#8D9730 #305A97 #6E3097
monochromatic
#363A12 #626921 #8D9730 #B6C341 #C8D270

Accessibility & contrast

On white

3.18
#8D9730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8D9730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9730
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9730#FFFFFF#000000##000000
##8D97301.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F21
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#968E82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d9730;
/* rgb */ color: rgb(141, 151, 48);
/* oklch */ color: oklch(64.8% 0.126 114.7);
Tailwind
colors: {
  custom: {
    50: '#b1b56e',
    500: '#8d9730',
    950: '#000000',
  },
}
SCSS
$custom: #8d9730;
$custom-light: #b1b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9730",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 65.825,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64829,
    "c": 0.12554,
    "h": 114.7
  },
  "luminance": 0.28009
}

Semantic roles & 50–950 ramp

primary
#8D9730
secondary
#716AB9
accent
#4DDB5A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9730

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

Preview Lab → · Contrast checker → · Palette generator →

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