#8D9A37#8D9A37

#8D9A37 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.6% C 0.124 H 116.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8D9A37
RGBrgb(141, 154, 55)
HSLhsl(68, 47%, 41%)
HSVhsv(68, 64%, 60%)
CMYKcmyk(8.4%, 0%, 64.3%, 39.6%)
CIE-LABlab(60.83, -18.53, 48.70)
CIE-LCHlch(60.83, 52.11, 110.83°)
OKLaboklab(65.59% -0.0548 0.1109)
OKLCHoklch(65.59% 0.124 116.3)
XYZxyz(23.2302, 29.0501, 7.9972)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9A37 #44379A
analogous
#9A7537 #8D9A37 #5B9A37
triadic
#8D9A37 #378D9A #9A378D
tetradic
#8D9A37 #379A75 #44379A #9A375B
square
#8D9A37 #379A75 #44379A #9A375B
split-complementary
#8D9A37 #375B9A #75379A
monochromatic
#3A4017 #646D27 #8D9A37 #B1C04E #C5D07B

Accessibility & contrast

On white

3.08
#8D9A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#8D9A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9A37
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9A37#FFFFFF#000000##000000
##8D9A371.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4922A
Deuteranopia (green-blind)
#A3933E
Tritanopia (blue-blind)
#969285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9a37;
/* rgb */ color: rgb(141, 154, 55);
/* oklch */ color: oklch(65.6% 0.124 116.3);
Tailwind
colors: {
  custom: {
    50: '#b1b773',
    500: '#8d9a37',
    950: '#000000',
  },
}
SCSS
$custom: #8d9a37;
$custom-light: #b1b773;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9a37",
  "rgb": {
    "r": 141,
    "g": 154,
    "b": 55
  },
  "hsl": {
    "h": 67.879,
    "s": 47.368,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65591,
    "c": 0.12371,
    "h": 116.3
  },
  "luminance": 0.2905
}

Semantic roles & 50–950 ramp

primary
#8D9A37
secondary
#7D74B9
accent
#51D762
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9A37

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

Preview Lab → · Contrast checker → · Palette generator →

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