#8F9E20#8F9E20

#8F9E20 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.5% C 0.143 H 116.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8F9E20
RGBrgb(143, 158, 32)
HSLhsl(67, 66%, 37%)
HSVhsv(67, 80%, 62%)
CMYKcmyk(9.5%, 0%, 79.7%, 38%)
CIE-LABlab(62.00, -20.97, 58.46)
CIE-LCHlch(62.00, 62.11, 109.73°)
OKLaboklab(66.52% -0.0638 0.1276)
OKLCHoklch(66.52% 0.143 116.6)
XYZxyz(23.8159, 30.3980, 5.9790)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E20 #2F209E
analogous
#9E6E20 #8F9E20 #509E20
triadic
#8F9E20 #208F9E #9E208F
tetradic
#8F9E20 #209E6E #2F209E #9E2050
square
#8F9E20 #209E6E #2F209E #9E2050
split-complementary
#8F9E20 #20509E #6E209E
monochromatic
#33380B #616B16 #8F9E20 #BDD12A #CEDE5B

Accessibility & contrast

On white

2.97
#8F9E20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#8F9E20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9E20
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9E20#FFFFFF#000000##000000
##8F9E201.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A8972C
Tritanopia (blue-blind)
#989587
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9e20;
/* rgb */ color: rgb(143, 158, 32);
/* oklch */ color: oklch(66.5% 0.143 116.6);
Tailwind
colors: {
  custom: {
    50: '#b3ba67',
    500: '#8f9e20',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e20;
$custom-light: #b3ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e20",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 67.143,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66522,
    "c": 0.14265,
    "h": 116.6
  },
  "luminance": 0.30398
}

Semantic roles & 50–950 ramp

primary
#8F9E20
secondary
#6558C2
accent
#3FE953
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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