#8D9B27#8D9B27

#8D9B27 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.7% C 0.136 H 116.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8D9B27
RGBrgb(141, 155, 39)
HSLhsl(67, 60%, 38%)
HSVhsv(67, 75%, 61%)
CMYKcmyk(9%, 0%, 74.8%, 39.2%)
CIE-LABlab(61.00, -20.01, 55.21)
CIE-LCHlch(61.00, 58.72, 109.92°)
OKLaboklab(65.7% -0.0604 0.122)
OKLCHoklch(65.7% 0.136 116.4)
XYZxyz(23.0727, 29.2522, 6.3499)
Luminance0.2925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9B27 #35279B
analogous
#9B6F27 #8D9B27 #539B27
triadic
#8D9B27 #278D9B #9B278D
tetradic
#8D9B27 #279B6F #35279B #9B2753
square
#8D9B27 #279B6F #35279B #9B2753
split-complementary
#8D9B27 #27539B #6F279B
monochromatic
#34390E #616A1B #8D9B27 #B9CC33 #CAD864

Accessibility & contrast

On white

3.07
#8D9B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#8D9B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9B27
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9B27#FFFFFF#000000##000000
##8D9B271.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d9b27;
/* rgb */ color: rgb(141, 155, 39);
/* oklch */ color: oklch(65.7% 0.136 116.4);
Tailwind
colors: {
  custom: {
    50: '#b2b86a',
    500: '#8d9b27',
    950: '#000000',
  },
}
SCSS
$custom: #8d9b27;
$custom-light: #b2b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9b27",
  "rgb": {
    "r": 141,
    "g": 155,
    "b": 39
  },
  "hsl": {
    "h": 67.241,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65697,
    "c": 0.13616,
    "h": 116.4
  },
  "luminance": 0.29252
}

Semantic roles & 50–950 ramp

primary
#8D9B27
secondary
#6B60BE
accent
#45E358
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9B27

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

Preview Lab → · Contrast checker → · Palette generator →

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