#8F9D2B#8F9D2B

#8F9D2B is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.4% C 0.135 H 116.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8F9D2B
RGBrgb(143, 157, 43)
HSLhsl(67, 57%, 39%)
HSVhsv(67, 73%, 62%)
CMYKcmyk(8.9%, 0%, 72.6%, 38.4%)
CIE-LABlab(61.76, -19.95, 54.55)
CIE-LCHlch(61.76, 58.08, 110.09°)
OKLaboklab(66.36% -0.06 0.1213)
OKLCHoklch(66.36% 0.135 116.3)
XYZxyz(23.8213, 30.1283, 6.8455)
Luminance0.3013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D2B #392B9D
analogous
#9D722B #8F9D2B #569D2B
triadic
#8F9D2B #2B8F9D #9D2B8F
tetradic
#8F9D2B #2B9D72 #392B9D #9D2B56
square
#8F9D2B #2B9D72 #392B9D #9D2B56
split-complementary
#8F9D2B #2B569D #722B9D
monochromatic
#373D11 #636D1E #8F9D2B #B8CA3C #CAD76C

Accessibility & contrast

On white

2.99
#8F9D2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8F9D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9D2B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9D2B#FFFFFF#000000##000000
##8F9D2B1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89516
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#989487
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d2b;
/* rgb */ color: rgb(143, 157, 43);
/* oklch */ color: oklch(66.4% 0.135 116.3);
Tailwind
colors: {
  custom: {
    50: '#b3b96c',
    500: '#8f9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d2b;
$custom-light: #b3b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d2b",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 67.368,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66355,
    "c": 0.13532,
    "h": 116.3
  },
  "luminance": 0.30128
}

Semantic roles & 50–950 ramp

primary
#8F9D2B
secondary
#7166BD
accent
#48E05A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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