#8D9F27#8D9F27

#8D9F27 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.6% C 0.141 H 118.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D9F27
RGBrgb(141, 159, 39)
HSLhsl(69, 61%, 39%)
HSVhsv(69, 75%, 62%)
CMYKcmyk(11.3%, 0%, 75.5%, 37.6%)
CIE-LABlab(62.17, -22.03, 56.32)
CIE-LCHlch(62.17, 60.47, 111.36°)
OKLaboklab(66.64% -0.066 0.1244)
OKLCHoklch(66.64% 0.141 118)
XYZxyz(23.7494, 30.6057, 6.5754)
Luminance0.3060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F27 #39279F
analogous
#9F7527 #8D9F27 #519F27
triadic
#8D9F27 #278D9F #9F278D
tetradic
#8D9F27 #279F75 #39279F #9F2751
square
#8D9F27 #279F75 #39279F #9F2751
split-complementary
#8D9F27 #27519F #75279F
monochromatic
#363D0F #616E1B #8D9F27 #B7CE36 #C8DA67

Accessibility & contrast

On white

2.95
#8D9F27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#8D9F27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9F27
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9F27#FFFFFF#000000##000000
##8D9F271.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960C
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#969688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8d9f27;
/* rgb */ color: rgb(141, 159, 39);
/* oklch */ color: oklch(66.6% 0.141 118.0);
Tailwind
colors: {
  custom: {
    50: '#b2bb6b',
    500: '#8d9f27',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f27;
$custom-light: #b2bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f27",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 69,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66638,
    "c": 0.1408,
    "h": 118
  },
  "luminance": 0.30605
}

Semantic roles & 50–950 ramp

primary
#8D9F27
secondary
#7062C0
accent
#44E45C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9F27

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

Preview Lab → · Contrast checker → · Palette generator →

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