#8D9D27#8D9D27

#8D9D27 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.2% C 0.138 H 117.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D9D27
RGBrgb(141, 157, 39)
HSLhsl(68, 60%, 38%)
HSVhsv(68, 75%, 62%)
CMYKcmyk(10.2%, 0%, 75.2%, 38.4%)
CIE-LABlab(61.59, -21.02, 55.76)
CIE-LCHlch(61.59, 59.59, 110.66°)
OKLaboklab(66.17% -0.0633 0.1232)
OKLCHoklch(66.17% 0.138 117.2)
XYZxyz(23.4083, 29.9234, 6.4617)
Luminance0.2992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D27 #37279D
analogous
#9D7227 #8D9D27 #529D27
triadic
#8D9D27 #278D9D #9D278D
tetradic
#8D9D27 #279D72 #37279D #9D2752
square
#8D9D27 #279D72 #37279D #9D2752
split-complementary
#8D9D27 #27529D #72279D
monochromatic
#353B0F #616C1B #8D9D27 #B8CD35 #C9D966

Accessibility & contrast

On white

3.01
#8D9D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8D9D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9D27
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D27#FFFFFF#000000##000000
##8D9D271.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940D
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#969487
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d27;
/* rgb */ color: rgb(141, 157, 39);
/* oklch */ color: oklch(66.2% 0.138 117.2);
Tailwind
colors: {
  custom: {
    50: '#b2b96a',
    500: '#8d9d27',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d27;
$custom-light: #b2b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d27",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 68.136,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.13847,
    "h": 117.2
  },
  "luminance": 0.29923
}

Semantic roles & 50–950 ramp

primary
#8D9D27
secondary
#6E61BF
accent
#44E35A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9D27

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

Preview Lab → · Contrast checker → · Palette generator →

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