#8F9B20#8F9B20

#8F9B20 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 65.8% C 0.139 H 115.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8F9B20
RGBrgb(143, 155, 32)
HSLhsl(66, 66%, 37%)
HSVhsv(66, 79%, 61%)
CMYKcmyk(7.7%, 0%, 79.4%, 39.2%)
CIE-LABlab(61.12, -19.45, 57.67)
CIE-LCHlch(61.12, 60.86, 108.64°)
OKLaboklab(65.82% -0.0596 0.1259)
OKLCHoklch(65.82% 0.139 115.3)
XYZxyz(23.3104, 29.3870, 5.8105)
Luminance0.2939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9B20 #2C209B
analogous
#9B6A20 #8F9B20 #529B20
triadic
#8F9B20 #208F9B #9B208F
tetradic
#8F9B20 #209B6A #2C209B #9B2052
square
#8F9B20 #209B6A #2C209B #9B2052
split-complementary
#8F9B20 #20529B #6A209B
monochromatic
#31360B #606816 #8F9B20 #BECE2A #D0DD59

Accessibility & contrast

On white

3.05
#8F9B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8F9B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9B20
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9B20#FFFFFF#000000##000000
##8F9B201.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A6942C
Tritanopia (blue-blind)
#999284
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8f9b20;
/* rgb */ color: rgb(143, 155, 32);
/* oklch */ color: oklch(65.8% 0.139 115.3);
Tailwind
colors: {
  custom: {
    50: '#b3b867',
    500: '#8f9b20',
    950: '#000000',
  },
}
SCSS
$custom: #8f9b20;
$custom-light: #b3b867;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9b20",
  "rgb": {
    "r": 143,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 65.854,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65819,
    "c": 0.1393,
    "h": 115.3
  },
  "luminance": 0.29387
}

Semantic roles & 50–950 ramp

primary
#8F9B20
secondary
#6156C1
accent
#3FE950
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9B20

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

Preview Lab → · Contrast checker → · Palette generator →

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