#8F9F20#8F9F20

#8F9F20 is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.8% C 0.144 H 117.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8F9F20
RGBrgb(143, 159, 32)
HSLhsl(68, 66%, 37%)
HSVhsv(68, 80%, 62%)
CMYKcmyk(10.1%, 0%, 79.9%, 37.6%)
CIE-LABlab(62.29, -21.47, 58.72)
CIE-LCHlch(62.29, 62.52, 110.09°)
OKLaboklab(66.76% -0.0652 0.1281)
OKLCHoklch(66.76% 0.144 117)
XYZxyz(23.9872, 30.7405, 6.0361)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F20 #30209F
analogous
#9F6F20 #8F9F20 #509F20
triadic
#8F9F20 #208F9F #9F208F
tetradic
#8F9F20 #209F6F #30209F #9F2050
square
#8F9F20 #209F6F #30209F #9F2050
split-complementary
#8F9F20 #20509F #6F209F
monochromatic
#33390B #616C16 #8F9F20 #BDD22A #CEDE5B

Accessibility & contrast

On white

2.94
#8F9F20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8F9F20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F20
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F20#FFFFFF#000000##000000
##8F9F201.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#989688
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f9f20;
/* rgb */ color: rgb(143, 159, 32);
/* oklch */ color: oklch(66.8% 0.144 117.0);
Tailwind
colors: {
  custom: {
    50: '#b3bb68',
    500: '#8f9f20',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f20;
$custom-light: #b3bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f20",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 67.559,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66756,
    "c": 0.14377,
    "h": 117
  },
  "luminance": 0.3074
}

Semantic roles & 50–950 ramp

primary
#8F9F20
secondary
#6659C2
accent
#3EE954
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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