#8F9E1B#8F9E1B

#8F9E1B is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.5% C 0.145 H 116.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8F9E1B
RGBrgb(143, 158, 27)
HSLhsl(67, 71%, 36%)
HSVhsv(67, 83%, 62%)
CMYKcmyk(9.5%, 0%, 82.9%, 38%)
CIE-LABlab(61.97, -21.16, 59.85)
CIE-LCHlch(61.97, 63.48, 109.47°)
OKLaboklab(66.5% -0.0647 0.1297)
OKLCHoklch(66.5% 0.145 116.5)
XYZxyz(23.7530, 30.3728, 5.6479)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E1B #2A1B9E
analogous
#9E6C1B #8F9E1B #4E9E1B
triadic
#8F9E1B #1B8F9E #9E1B8F
tetradic
#8F9E1B #1B9E6C #2A1B9E #9E1B4E
square
#8F9E1B #1B9E6C #2A1B9E #9E1B4E
split-complementary
#8F9E1B #1B4E9E #6C1B9E
monochromatic
#303509 #606A12 #8F9E1B #BED224 #D1E152

Accessibility & contrast

On white

2.97
#8F9E1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8F9E1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9E1B
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9E1B#FFFFFF#000000##000000
##8F9E1B1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A89729
Tritanopia (blue-blind)
#999587
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9e1b;
/* rgb */ color: rgb(143, 158, 27);
/* oklch */ color: oklch(66.5% 0.145 116.5);
Tailwind
colors: {
  custom: {
    50: '#b4ba65',
    500: '#8f9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e1b;
$custom-light: #b4ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e1b",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 66.87,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66497,
    "c": 0.14491,
    "h": 116.5
  },
  "luminance": 0.30372
}

Semantic roles & 50–950 ramp

primary
#8F9E1B
secondary
#5E51C4
accent
#3AEE4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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