#8F9D20#8F9D20

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

Color values

HEX#8F9D20
RGBrgb(143, 157, 32)
HSLhsl(67, 66%, 37%)
HSVhsv(67, 80%, 62%)
CMYKcmyk(8.9%, 0%, 79.6%, 38.4%)
CIE-LABlab(61.70, -20.46, 58.20)
CIE-LCHlch(61.70, 61.69, 109.37°)
OKLaboklab(66.29% -0.0624 0.127)
OKLCHoklch(66.29% 0.142 116.2)
XYZxyz(23.6460, 30.0582, 5.9224)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D20 #2E209D
analogous
#9D6D20 #8F9D20 #519D20
triadic
#8F9D20 #208F9D #9D208F
tetradic
#8F9D20 #209D6D #2E209D #9D2051
square
#8F9D20 #209D6D #2E209D #9D2051
split-complementary
#8F9D20 #20519D #6D209D
monochromatic
#32370B #616A16 #8F9D20 #BDD02A #CFDD5A

Accessibility & contrast

On white

3.00
#8F9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9D20#FFFFFF#000000##000000
##8F9D201.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f9d20;
/* rgb */ color: rgb(143, 157, 32);
/* oklch */ color: oklch(66.3% 0.142 116.2);
Tailwind
colors: {
  custom: {
    50: '#b3b967',
    500: '#8f9d20',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d20;
$custom-light: #b3b967;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d20",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 66.72,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66287,
    "c": 0.14153,
    "h": 116.2
  },
  "luminance": 0.30058
}

Semantic roles & 50–950 ramp

primary
#8F9D20
secondary
#6357C1
accent
#3FE952
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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