#8F9420#8F9420

#8F9420 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.2% C 0.132 H 112.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8F9420
RGBrgb(143, 148, 32)
HSLhsl(63, 64%, 35%)
HSVhsv(63, 78%, 58%)
CMYKcmyk(3.4%, 0%, 78.4%, 42%)
CIE-LABlab(59.09, -15.83, 55.83)
CIE-LCHlch(59.09, 58.03, 105.83°)
OKLaboklab(64.19% -0.0496 0.122)
OKLCHoklch(64.19% 0.132 112.1)
XYZxyz(22.1791, 27.1243, 5.4334)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9420 #252094
analogous
#945F20 #8F9420 #559420
triadic
#8F9420 #208F94 #94208F
tetradic
#8F9420 #20945F #252094 #942055
square
#8F9420 #20945F #252094 #942055
split-complementary
#8F9420 #205594 #5F2094
monochromatic
#2E2F0A #5E6215 #8F9420 #C0C62B #D4DA54

Accessibility & contrast

On white

3.27
#8F9420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8F9420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9420
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9420#FFFFFF#000000##000000
##8F94201.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#998B7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f9420;
/* rgb */ color: rgb(143, 148, 32);
/* oklch */ color: oklch(64.2% 0.132 112.1);
Tailwind
colors: {
  custom: {
    50: '#b3b366',
    500: '#8f9420',
    950: '#000000',
  },
}
SCSS
$custom: #8f9420;
$custom-light: #b3b366;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9420",
  "rgb": {
    "r": 143,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 62.586,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6419,
    "c": 0.13168,
    "h": 112.1
  },
  "luminance": 0.27124
}

Semantic roles & 50–950 ramp

primary
#8F9420
secondary
#5752BE
accent
#40E748
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9420

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

Preview Lab → · Contrast checker → · Palette generator →

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