#8D9227#8D9227

#8D9227 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.6% C 0.126 H 112.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8D9227
RGBrgb(141, 146, 39)
HSLhsl(63, 58%, 36%)
HSVhsv(63, 73%, 57%)
CMYKcmyk(3.4%, 0%, 73.3%, 42.7%)
CIE-LABlab(58.38, -15.36, 52.70)
CIE-LCHlch(58.38, 54.89, 106.25°)
OKLaboklab(63.6% -0.0475 0.1167)
OKLCHoklch(63.6% 0.126 112.2)
XYZxyz(21.6303, 26.3675, 5.8691)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9227 #2C2792
analogous
#926227 #8D9227 #589227
triadic
#8D9227 #278D92 #92278D
tetradic
#8D9227 #279262 #2C2792 #922758
square
#8D9227 #279262 #2C2792 #922758
split-complementary
#8D9227 #275892 #622792
monochromatic
#30310D #5E621A #8D9227 #BCC234 #CFD45F

Accessibility & contrast

On white

3.35
#8D9227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#8D9227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9227
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9227#FFFFFF#000000##000000
##8D92271.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B13
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#97897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d9227;
/* rgb */ color: rgb(141, 146, 39);
/* oklch */ color: oklch(63.6% 0.126 112.2);
Tailwind
colors: {
  custom: {
    50: '#b1b169',
    500: '#8d9227',
    950: '#000000',
  },
}
SCSS
$custom: #8d9227;
$custom-light: #b1b169;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9227",
  "rgb": {
    "r": 141,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 62.804,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63597,
    "c": 0.12603,
    "h": 112.2
  },
  "luminance": 0.26367
}

Semantic roles & 50–950 ramp

primary
#8D9227
secondary
#605BBA
accent
#47E14E
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D9227

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

Preview Lab → · Contrast checker → · Palette generator →

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