#8F9017#8F9017

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

Color values

HEX#8F9017
RGBrgb(143, 144, 23)
HSLhsl(60, 72%, 33%)
HSVhsv(60, 84%, 56%)
CMYKcmyk(0.7%, 0%, 84%, 43.5%)
CIE-LABlab(57.89, -14.06, 57.40)
CIE-LCHlch(57.89, 59.09, 103.76°)
OKLaboklab(63.22% -0.0454 0.1237)
OKLCHoklch(63.22% 0.132 110.2)
XYZxyz(21.4564, 25.8487, 4.6695)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9017 #181790
analogous
#905517 #8F9017 #529017
triadic
#8F9017 #178F90 #90178F
tetradic
#8F9017 #179055 #181790 #901752
square
#8F9017 #179055 #181790 #901752
split-complementary
#8F9017 #175290 #551790
monochromatic
#262606 #5B5B0F #8F9017 #C3C51F #DFE141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8f9017;
/* rgb */ color: rgb(143, 144, 23);
/* oklch */ color: oklch(63.2% 0.132 110.2);
Tailwind
colors: {
  custom: {
    50: '#b4b062',
    500: '#8f9017',
    950: '#000000',
  },
}
SCSS
$custom: #8f9017;
$custom-light: #b4b062;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9017",
  "rgb": {
    "r": 143,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 60.496,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6322,
    "c": 0.13174,
    "h": 110.2
  },
  "luminance": 0.25848
}

Semantic roles & 50–950 ramp

primary
#8F9017
secondary
#4342C1
accent
#39EF3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #8F9017

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

Preview Lab → · Contrast checker → · Palette generator →

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