#8F9F1A#8F9F1A

#8F9F1A is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.7% C 0.146 H 116.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8F9F1A
RGBrgb(143, 159, 26)
HSLhsl(67, 72%, 36%)
HSVhsv(67, 84%, 62%)
CMYKcmyk(10.1%, 0%, 83.6%, 37.6%)
CIE-LABlab(62.26, -21.69, 60.36)
CIE-LCHlch(62.26, 64.14, 109.77°)
OKLaboklab(66.73% -0.0662 0.1306)
OKLCHoklch(66.73% 0.146 116.9)
XYZxyz(23.9129, 30.7108, 5.6451)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F1A #2A1A9F
analogous
#9F6D1A #8F9F1A #4D9F1A
triadic
#8F9F1A #1A8F9F #9F1A8F
tetradic
#8F9F1A #1A9F6D #2A1A9F #9F1A4D
square
#8F9F1A #1A9F6D #2A1A9F #9F1A4D
split-complementary
#8F9F1A #1A4D9F #6D1A9F
monochromatic
#303609 #606A11 #8F9F1A #BED423 #D1E351

Accessibility & contrast

On white

2.94
#8F9F1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#8F9F1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F1A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F1A#FFFFFF#000000##000000
##8F9F1A1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f9f1a;
/* rgb */ color: rgb(143, 159, 26);
/* oklch */ color: oklch(66.7% 0.146 116.9);
Tailwind
colors: {
  custom: {
    50: '#b4bb65',
    500: '#8f9f1a',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f1a;
$custom-light: #b4bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f1a",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 67.218,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66728,
    "c": 0.14643,
    "h": 116.9
  },
  "luminance": 0.3071
}

Semantic roles & 50–950 ramp

primary
#8F9F1A
secondary
#5E50C5
accent
#39EF4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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