#8D9937#8D9937

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

Color values

HEX#8D9937
RGBrgb(141, 153, 55)
HSLhsl(67, 47%, 41%)
HSVhsv(67, 64%, 60%)
CMYKcmyk(7.8%, 0%, 64.1%, 40%)
CIE-LABlab(60.53, -18.02, 48.39)
CIE-LCHlch(60.53, 51.64, 110.42°)
OKLaboklab(65.36% -0.0533 0.1103)
OKLCHoklch(65.36% 0.123 115.8)
XYZxyz(23.0658, 28.7213, 7.9424)
Luminance0.2872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9937 #433799
analogous
#997437 #8D9937 #5C9937
triadic
#8D9937 #378D99 #99378D
tetradic
#8D9937 #379974 #433799 #99375C
square
#8D9937 #379974 #433799 #99375C
split-complementary
#8D9937 #375C99 #743799
monochromatic
#3A3F17 #646C27 #8D9937 #B1BF4E #C5D07B

Accessibility & contrast

On white

3.11
#8D9937 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9937#FFFFFF#000000##000000
##8D99371.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3912B
Deuteranopia (green-blind)
#A2933E
Tritanopia (blue-blind)
#969185
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9937;
/* rgb */ color: rgb(141, 153, 55);
/* oklch */ color: oklch(65.4% 0.122 115.8);
Tailwind
colors: {
  custom: {
    50: '#b1b773',
    500: '#8d9937',
    950: '#000000',
  },
}
SCSS
$custom: #8d9937;
$custom-light: #b1b773;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9937",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 55
  },
  "hsl": {
    "h": 67.347,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65358,
    "c": 0.1225,
    "h": 115.8
  },
  "luminance": 0.28721
}

Semantic roles & 50–950 ramp

primary
#8D9937
secondary
#7C73B9
accent
#51D761
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9937

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

Preview Lab → · Contrast checker → · Palette generator →

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