#8F951A#8F951A

#8F951A is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.136 H 112.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8F951A
RGBrgb(143, 149, 26)
HSLhsl(63, 70%, 34%)
HSVhsv(63, 83%, 58%)
CMYKcmyk(4%, 0%, 82.6%, 41.6%)
CIE-LABlab(59.35, -16.58, 57.85)
CIE-LCHlch(59.35, 60.18, 105.99°)
OKLaboklab(64.39% -0.0521 0.1252)
OKLCHoklch(64.39% 0.136 112.6)
XYZxyz(22.2624, 27.4097, 5.0949)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F951A #201A95
analogous
#955E1A #8F951A #52951A
triadic
#8F951A #1A8F95 #951A8F
tetradic
#8F951A #1A955E #201A95 #951A52
square
#8F951A #1A955E #201A95 #951A52
split-complementary
#8F951A #1A5295 #5E1A95
monochromatic
#2B2D08 #5D6111 #8F951A #C1C923 #D8DF4A

Accessibility & contrast

On white

3.24
#8F951A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8F951A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F951A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F951A#FFFFFF#000000##000000
##8F951A1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A19026
Tritanopia (blue-blind)
#998B7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f951a;
/* rgb */ color: rgb(143, 149, 26);
/* oklch */ color: oklch(64.4% 0.136 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b364',
    500: '#8f951a',
    950: '#000000',
  },
}
SCSS
$custom: #8f951a;
$custom-light: #b3b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8f951a",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 62.927,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.64391,
    "c": 0.13562,
    "h": 112.6
  },
  "luminance": 0.27409
}

Semantic roles & 50–950 ramp

primary
#8F951A
secondary
#4F4AC1
accent
#3BED43
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F951A

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

Preview Lab → · Contrast checker → · Palette generator →

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