#8F901A#8F901A

#8F901A is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.2% C 0.130 H 110.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8F901A
RGBrgb(143, 144, 26)
HSLhsl(61, 69%, 33%)
HSVhsv(61, 82%, 56%)
CMYKcmyk(0.7%, 0%, 81.9%, 43.5%)
CIE-LABlab(57.91, -13.96, 56.59)
CIE-LCHlch(57.91, 58.29, 103.86°)
OKLaboklab(63.23% -0.0449 0.1225)
OKLCHoklch(63.23% 0.13 110.1)
XYZxyz(21.4882, 25.8614, 4.8369)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F901A #1B1A90
analogous
#90561A #8F901A #54901A
triadic
#8F901A #1A8F90 #901A8F
tetradic
#8F901A #1A9056 #1B1A90 #901A54
square
#8F901A #1A9056 #1B1A90 #901A54
split-complementary
#8F901A #1A5490 #561A90
monochromatic
#282807 #5C5C11 #8F901A #C2C423 #DCDE47

Accessibility & contrast

On white

3.40
#8F901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8F901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F901A
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F901A#FFFFFF#000000##000000
##8F901A1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9D8D25
Tritanopia (blue-blind)
#9A867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f901a;
/* rgb */ color: rgb(143, 144, 26);
/* oklch */ color: oklch(63.2% 0.130 110.1);
Tailwind
colors: {
  custom: {
    50: '#b3b063',
    500: '#8f901a',
    950: '#000000',
  },
}
SCSS
$custom: #8f901a;
$custom-light: #b3b063;
$custom-dark: #000000;
JSON
{
  "hex": "#8f901a",
  "rgb": {
    "r": 143,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 60.508,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.63233,
    "c": 0.13045,
    "h": 110.1
  },
  "luminance": 0.25861
}

Semantic roles & 50–950 ramp

primary
#8F901A
secondary
#4847BF
accent
#3CEC3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F901A

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

Preview Lab → · Contrast checker → · Palette generator →

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