#8D9C27#8D9C27

#8D9C27 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.9% C 0.137 H 116.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8D9C27
RGBrgb(141, 156, 39)
HSLhsl(68, 60%, 38%)
HSVhsv(68, 75%, 61%)
CMYKcmyk(9.6%, 0%, 75%, 38.8%)
CIE-LABlab(61.30, -20.51, 55.48)
CIE-LCHlch(61.30, 59.15, 110.29°)
OKLaboklab(65.93% -0.0619 0.1226)
OKLCHoklch(65.93% 0.137 116.8)
XYZxyz(23.2398, 29.5864, 6.4056)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9C27 #36279C
analogous
#9C7027 #8D9C27 #529C27
triadic
#8D9C27 #278D9C #9C278D
tetradic
#8D9C27 #279C70 #36279C #9C2752
square
#8D9C27 #279C70 #36279C #9C2752
split-complementary
#8D9C27 #27529C #70279C
monochromatic
#343A0F #616B1B #8D9C27 #B9CC34 #CAD865

Accessibility & contrast

On white

3.04
#8D9C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#8D9C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9C27
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9C27#FFFFFF#000000##000000
##8D9C271.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930E
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#969386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d9c27;
/* rgb */ color: rgb(141, 156, 39);
/* oklch */ color: oklch(65.9% 0.137 116.8);
Tailwind
colors: {
  custom: {
    50: '#b2b96a',
    500: '#8d9c27',
    950: '#000000',
  },
}
SCSS
$custom: #8d9c27;
$custom-light: #b2b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9c27",
  "rgb": {
    "r": 141,
    "g": 156,
    "b": 39
  },
  "hsl": {
    "h": 67.692,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65932,
    "c": 0.13732,
    "h": 116.8
  },
  "luminance": 0.29586
}

Semantic roles & 50–950 ramp

primary
#8D9C27
secondary
#6D61BE
accent
#45E359
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9C27

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

Preview Lab → · Contrast checker → · Palette generator →

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