#8F9D21#8F9D21

#8F9D21 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.3% C 0.141 H 116.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8F9D21
RGBrgb(143, 157, 33)
HSLhsl(67, 65%, 37%)
HSVhsv(67, 79%, 62%)
CMYKcmyk(8.9%, 0%, 79%, 38.4%)
CIE-LABlab(61.71, -20.42, 57.89)
CIE-LCHlch(61.71, 61.39, 109.43°)
OKLaboklab(66.29% -0.0622 0.1266)
OKLCHoklch(66.29% 0.141 116.2)
XYZxyz(23.6598, 30.0637, 5.9951)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D21 #2F219D
analogous
#9D6D21 #8F9D21 #519D21
triadic
#8F9D21 #218F9D #9D218F
tetradic
#8F9D21 #219D6D #2F219D #9D2151
square
#8F9D21 #219D6D #2F219D #9D2151
split-complementary
#8F9D21 #21519D #6D219D
monochromatic
#33380C #616A16 #8F9D21 #BDD02C #CEDD5C

Accessibility & contrast

On white

2.99
#8F9D21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#8F9D21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9D21
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9D21#FFFFFF#000000##000000
##8F9D211.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#999486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d21;
/* rgb */ color: rgb(143, 157, 33);
/* oklch */ color: oklch(66.3% 0.141 116.2);
Tailwind
colors: {
  custom: {
    50: '#b3b968',
    500: '#8f9d21',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d21;
$custom-light: #b3b968;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d21",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 66.774,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66292,
    "c": 0.14103,
    "h": 116.2
  },
  "luminance": 0.30063
}

Semantic roles & 50–950 ramp

primary
#8F9D21
secondary
#6559C1
accent
#40E853
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9D21

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

Preview Lab → · Contrast checker → · Palette generator →

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