#8F901F#8F901F

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

Color values

HEX#8F901F
RGBrgb(143, 144, 31)
HSLhsl(61, 65%, 34%)
HSVhsv(61, 78%, 56%)
CMYKcmyk(0.7%, 0%, 78.5%, 43.5%)
CIE-LABlab(57.93, -13.77, 55.10)
CIE-LCHlch(57.93, 56.79, 104.04°)
OKLaboklab(63.26% -0.044 0.1202)
OKLCHoklch(63.26% 0.128 110.1)
XYZxyz(21.5491, 25.8857, 5.1574)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F901F #201F90
analogous
#90591F #8F901F #57901F
triadic
#8F901F #1F8F90 #901F8F
tetradic
#8F901F #1F9059 #201F90 #901F57
square
#8F901F #1F9059 #201F90 #901F57
split-complementary
#8F901F #1F5790 #591F90
monochromatic
#2B2B09 #5D5E14 #8F901F #C1C22A #D8D950

Accessibility & contrast

On white

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

On black

6.18
#8F901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F901F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F901F#FFFFFF#000000##000000
##8F901F1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f901f;
/* rgb */ color: rgb(143, 144, 31);
/* oklch */ color: oklch(63.3% 0.128 110.1);
Tailwind
colors: {
  custom: {
    50: '#b3b065',
    500: '#8f901f',
    950: '#000000',
  },
}
SCSS
$custom: #8f901f;
$custom-light: #b3b065;
$custom-dark: #000000;
JSON
{
  "hex": "#8f901f",
  "rgb": {
    "r": 143,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 60.531,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63259,
    "c": 0.12802,
    "h": 110.1
  },
  "luminance": 0.25885
}

Semantic roles & 50–950 ramp

primary
#8F901F
secondary
#4F4EBC
accent
#40E842
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F901F

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

Preview Lab → · Contrast checker → · Palette generator →

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