#8F9E1A#8F9E1A

#8F9E1A 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#8F9E1A
RGBrgb(143, 158, 26)
HSLhsl(67, 72%, 36%)
HSVhsv(67, 84%, 62%)
CMYKcmyk(9.5%, 0%, 83.5%, 38%)
CIE-LABlab(61.97, -21.19, 60.11)
CIE-LCHlch(61.97, 63.73, 109.42°)
OKLaboklab(66.49% -0.0648 0.1301)
OKLCHoklch(66.49% 0.145 116.5)
XYZxyz(23.7417, 30.3683, 5.5881)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E1A #291A9E
analogous
#9E6B1A #8F9E1A #4D9E1A
triadic
#8F9E1A #1A8F9E #9E1A8F
tetradic
#8F9E1A #1A9E6B #291A9E #9E1A4D
square
#8F9E1A #1A9E6B #291A9E #9E1A4D
split-complementary
#8F9E1A #1A4D9E #6B1A9E
monochromatic
#303509 #5F6911 #8F9E1A #BFD323 #D2E250

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9E1A#FFFFFF#000000##000000
##8F9E1A1.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)
#A89728
Tritanopia (blue-blind)
#999487
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9e1a;
/* rgb */ color: rgb(143, 158, 26);
/* oklch */ color: oklch(66.5% 0.145 116.5);
Tailwind
colors: {
  custom: {
    50: '#b4ba65',
    500: '#8f9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e1a;
$custom-light: #b4ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e1a",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 66.818,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66493,
    "c": 0.14533,
    "h": 116.5
  },
  "luminance": 0.30368
}

Semantic roles & 50–950 ramp

primary
#8F9E1A
secondary
#5C4FC5
accent
#39EE4E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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