#8F9221#8F9221

#8F9221 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.7% C 0.129 H 111.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8F9221
RGBrgb(143, 146, 33)
HSLhsl(62, 63%, 35%)
HSVhsv(62, 77%, 57%)
CMYKcmyk(2.1%, 0%, 77.4%, 42.7%)
CIE-LABlab(58.52, -14.74, 54.98)
CIE-LCHlch(58.52, 56.93, 105.01°)
OKLaboklab(63.73% -0.0465 0.1204)
OKLCHoklch(63.73% 0.129 111.1)
XYZxyz(21.8819, 26.5078, 5.4024)
Luminance0.2651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9221 #242192
analogous
#925D21 #8F9221 #569221
triadic
#8F9221 #218F92 #92218F
tetradic
#8F9221 #21925D #242192 #922156
square
#8F9221 #21925D #242192 #922156
split-complementary
#8F9221 #215692 #5D2192
monochromatic
#2D2E0A #5E6016 #8F9221 #C0C42C #D5D955

Accessibility & contrast

On white

3.33
#8F9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8F9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9221
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9221#FFFFFF#000000##000000
##8F92211.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B04
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#99897D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f9221;
/* rgb */ color: rgb(143, 146, 33);
/* oklch */ color: oklch(63.7% 0.129 111.1);
Tailwind
colors: {
  custom: {
    50: '#b3b166',
    500: '#8f9221',
    950: '#000000',
  },
}
SCSS
$custom: #8f9221;
$custom-light: #b3b166;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9221",
  "rgb": {
    "r": 143,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 61.593,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63732,
    "c": 0.12904,
    "h": 111.1
  },
  "luminance": 0.26507
}

Semantic roles & 50–950 ramp

primary
#8F9221
secondary
#5553BC
accent
#42E646
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F9221

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

Preview Lab → · Contrast checker → · Palette generator →

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