#8F9D1B#8F9D1B

#8F9D1B is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.3% C 0.144 H 116.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8F9D1B
RGBrgb(143, 157, 27)
HSLhsl(66, 71%, 36%)
HSVhsv(66, 83%, 62%)
CMYKcmyk(8.9%, 0%, 82.8%, 38.4%)
CIE-LABlab(61.68, -20.65, 59.60)
CIE-LCHlch(61.68, 63.07, 109.11°)
OKLaboklab(66.26% -0.0633 0.1291)
OKLCHoklch(66.26% 0.144 116.1)
XYZxyz(23.5832, 30.0331, 5.5913)
Luminance0.3003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D1B #291B9D
analogous
#9D6A1B #8F9D1B #4E9D1B
triadic
#8F9D1B #1B8F9D #9D1B8F
tetradic
#8F9D1B #1B9D6A #291B9D #9D1B4E
square
#8F9D1B #1B9D6A #291B9D #9D1B4E
split-complementary
#8F9D1B #1B4E9D #6A1B9D
monochromatic
#303509 #5F6912 #8F9D1B #BFD124 #D2E151

Accessibility & contrast

On white

3.00
#8F9D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#8F9D1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9D1B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9D1B#FFFFFF#000000##000000
##8F9D1B1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A79629
Tritanopia (blue-blind)
#999386
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d1b;
/* rgb */ color: rgb(143, 157, 27);
/* oklch */ color: oklch(66.3% 0.144 116.1);
Tailwind
colors: {
  custom: {
    50: '#b3b965',
    500: '#8f9d1b',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d1b;
$custom-light: #b3b965;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d1b",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 66.462,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66263,
    "c": 0.14381,
    "h": 116.1
  },
  "luminance": 0.30033
}

Semantic roles & 50–950 ramp

primary
#8F9D1B
secondary
#5C50C4
accent
#3AED4E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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