#8F991C#8F991C

#8F991C is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.3% C 0.139 H 114.4°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8F991C
RGBrgb(143, 153, 28)
HSLhsl(65, 69%, 35%)
HSVhsv(65, 82%, 60%)
CMYKcmyk(6.5%, 0%, 81.7%, 40%)
CIE-LABlab(60.52, -18.58, 58.31)
CIE-LCHlch(60.52, 61.20, 107.67°)
OKLaboklab(65.33% -0.0575 0.1266)
OKLCHoklch(65.33% 0.139 114.4)
XYZxyz(22.9292, 28.7064, 5.4314)
Luminance0.2871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F991C #261C99
analogous
#99641C #8F991C #50991C
triadic
#8F991C #1C8F99 #991C8F
tetradic
#8F991C #1C9964 #261C99 #991C50
square
#8F991C #1C9964 #261C99 #991C50
split-complementary
#8F991C #1C5099 #641C99
monochromatic
#2E3209 #5F6513 #8F991C #BFCD25 #D4DF50

Accessibility & contrast

On white

3.12
#8F991C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8F991C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F991C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F991C#FFFFFF#000000##000000
##8F991C1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A49328
Tritanopia (blue-blind)
#998F82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f991c;
/* rgb */ color: rgb(143, 153, 28);
/* oklch */ color: oklch(65.3% 0.139 114.4);
Tailwind
colors: {
  custom: {
    50: '#b3b665',
    500: '#8f991c',
    950: '#000000',
  },
}
SCSS
$custom: #8f991c;
$custom-light: #b3b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8f991c",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 64.8,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65332,
    "c": 0.139,
    "h": 114.4
  },
  "luminance": 0.28706
}

Semantic roles & 50–950 ramp

primary
#8F991C
secondary
#584FC2
accent
#3CEC4A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F991C

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

Preview Lab → · Contrast checker → · Palette generator →

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