#8F9D1A#8F9D1A

#8F9D1A 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#8F9D1A
RGBrgb(143, 157, 26)
HSLhsl(66, 72%, 36%)
HSVhsv(66, 83%, 62%)
CMYKcmyk(8.9%, 0%, 83.4%, 38.4%)
CIE-LABlab(61.68, -20.68, 59.86)
CIE-LCHlch(61.68, 63.33, 109.06°)
OKLaboklab(66.26% -0.0635 0.1295)
OKLCHoklch(66.26% 0.144 116.1)
XYZxyz(23.5718, 30.0285, 5.5314)
Luminance0.3003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D1A #281A9D
analogous
#9D691A #8F9D1A #4D9D1A
triadic
#8F9D1A #1A8F9D #9D1A8F
tetradic
#8F9D1A #1A9D69 #281A9D #9D1A4D
square
#8F9D1A #1A9D69 #281A9D #9D1A4D
split-complementary
#8F9D1A #1A4D9D #691A9D
monochromatic
#2F3409 #5F6811 #8F9D1A #BFD223 #D2E24F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9D1A#FFFFFF#000000##000000
##8F9D1A1.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)
#A79628
Tritanopia (blue-blind)
#999386
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d1a;
/* rgb */ color: rgb(143, 157, 26);
/* oklch */ color: oklch(66.3% 0.144 116.1);
Tailwind
colors: {
  custom: {
    50: '#b4b965',
    500: '#8f9d1a',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d1a;
$custom-light: #b4b965;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d1a",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 66.412,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66258,
    "c": 0.14423,
    "h": 116.1
  },
  "luminance": 0.30028
}

Semantic roles & 50–950 ramp

primary
#8F9D1A
secondary
#5B4EC4
accent
#39EE4D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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