#8D9121#8D9121

#8D9121 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.3% C 0.128 H 111.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8D9121
RGBrgb(141, 145, 33)
HSLhsl(62, 63%, 35%)
HSVhsv(62, 77%, 57%)
CMYKcmyk(2.8%, 0%, 77.2%, 43.1%)
CIE-LABlab(58.06, -15.12, 54.50)
CIE-LCHlch(58.06, 56.56, 105.50°)
OKLaboklab(63.33% -0.0474 0.1194)
OKLCHoklch(63.33% 0.128 111.7)
XYZxyz(21.3851, 26.0239, 5.3351)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9121 #252191
analogous
#915D21 #8D9121 #559121
triadic
#8D9121 #218D91 #91218D
tetradic
#8D9121 #21915D #252191 #912155
square
#8D9121 #21915D #252191 #912155
split-complementary
#8D9121 #215591 #5D2191
monochromatic
#2C2D0A #5D5F16 #8D9121 #BDC32C #D3D854

Accessibility & contrast

On white

3.38
#8D9121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#8D9121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9121
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9121#FFFFFF#000000##000000
##8D91211.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A04
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#97887C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d9121;
/* rgb */ color: rgb(141, 145, 33);
/* oklch */ color: oklch(63.3% 0.128 111.7);
Tailwind
colors: {
  custom: {
    50: '#b2b166',
    500: '#8d9121',
    950: '#000000',
  },
}
SCSS
$custom: #8d9121;
$custom-light: #b2b166;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9121",
  "rgb": {
    "r": 141,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 62.143,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63326,
    "c": 0.12849,
    "h": 111.7
  },
  "luminance": 0.26023
}

Semantic roles & 50–950 ramp

primary
#8D9121
secondary
#5652BC
accent
#42E648
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9121

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

Preview Lab → · Contrast checker → · Palette generator →

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