#8F9617#8F9617

#8F9617 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.6% C 0.138 H 113.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8F9617
RGBrgb(143, 150, 23)
HSLhsl(63, 73%, 34%)
HSVhsv(63, 85%, 59%)
CMYKcmyk(4.7%, 0%, 84.7%, 41.2%)
CIE-LABlab(59.63, -17.20, 58.87)
CIE-LCHlch(59.63, 61.33, 106.28°)
OKLaboklab(64.61% -0.054 0.1269)
OKLCHoklch(64.61% 0.138 113.1)
XYZxyz(22.3895, 27.7147, 4.9805)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9617 #1E1796
analogous
#965E17 #8F9617 #509617
triadic
#8F9617 #178F96 #96178F
tetradic
#8F9617 #17965E #1E1796 #961750
square
#8F9617 #17965E #1E1796 #961750
split-complementary
#8F9617 #175096 #5E1796
monochromatic
#2A2C07 #5C610F #8F9617 #C2CB1F #DAE245

Accessibility & contrast

On white

3.21
#8F9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#8F9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9617
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9617#FFFFFF#000000##000000
##8F96171.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#A29125
Tritanopia (blue-blind)
#998C80
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f9617;
/* rgb */ color: rgb(143, 150, 23);
/* oklch */ color: oklch(64.6% 0.138 113.1);
Tailwind
colors: {
  custom: {
    50: '#b4b463',
    500: '#8f9617',
    950: '#000000',
  },
}
SCSS
$custom: #8f9617;
$custom-light: #b4b463;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9617",
  "rgb": {
    "r": 143,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 63.307,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.64611,
    "c": 0.13789,
    "h": 113.1
  },
  "luminance": 0.27714
}

Semantic roles & 50–950 ramp

primary
#8F9617
secondary
#4C45C3
accent
#38F042
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9617

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

Preview Lab → · Contrast checker → · Palette generator →

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