#8F901D#8F901D

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

Color values

HEX#8F901D
RGBrgb(143, 144, 29)
HSLhsl(61, 66%, 34%)
HSVhsv(61, 80%, 56%)
CMYKcmyk(0.7%, 0%, 79.9%, 43.5%)
CIE-LABlab(57.92, -13.85, 55.72)
CIE-LCHlch(57.92, 57.41, 103.96°)
OKLaboklab(63.25% -0.0444 0.1212)
OKLCHoklch(63.25% 0.129 110.1)
XYZxyz(21.5235, 25.8755, 5.0228)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F901D #1E1D90
analogous
#90581D #8F901D #56901D
triadic
#8F901D #1D8F90 #901D8F
tetradic
#8F901D #1D9058 #1E1D90 #901D56
square
#8F901D #1D9058 #1E1D90 #901D56
split-complementary
#8F901D #1D5690 #581D90
monochromatic
#2A2A08 #5C5D13 #8F901D #C2C327 #DADB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F901D#FFFFFF#000000##000000
##8F901D1.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)
#9D8D27
Tritanopia (blue-blind)
#9A867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f901d;
/* rgb */ color: rgb(143, 144, 29);
/* oklch */ color: oklch(63.2% 0.129 110.1);
Tailwind
colors: {
  custom: {
    50: '#b3b064',
    500: '#8f901d',
    950: '#000000',
  },
}
SCSS
$custom: #8f901d;
$custom-light: #b3b064;
$custom-dark: #000000;
JSON
{
  "hex": "#8f901d",
  "rgb": {
    "r": 143,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 60.522,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63248,
    "c": 0.12903,
    "h": 110.1
  },
  "luminance": 0.25875
}

Semantic roles & 50–950 ramp

primary
#8F901D
secondary
#4C4BBD
accent
#3EE940
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F901D

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

Preview Lab → · Contrast checker → · Palette generator →

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