#8F951B#8F951B

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

Color values

HEX#8F951B
RGBrgb(143, 149, 27)
HSLhsl(63, 69%, 35%)
HSVhsv(63, 82%, 58%)
CMYKcmyk(4%, 0%, 81.9%, 41.6%)
CIE-LABlab(59.36, -16.55, 57.57)
CIE-LCHlch(59.36, 59.90, 106.03°)
OKLaboklab(64.4% -0.052 0.1248)
OKLCHoklch(64.4% 0.135 112.6)
XYZxyz(22.2737, 27.4142, 5.1548)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F951B #211B95
analogous
#955E1B #8F951B #52951B
triadic
#8F951B #1B8F95 #951B8F
tetradic
#8F951B #1B955E #211B95 #951B52
square
#8F951B #1B955E #211B95 #951B52
split-complementary
#8F951B #1B5295 #5E1B95
monochromatic
#2C2D08 #5D6112 #8F951B #C1C924 #D7DF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F951B#FFFFFF#000000##000000
##8F951B1.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)
#A19027
Tritanopia (blue-blind)
#998B7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f951b;
/* rgb */ color: rgb(143, 149, 27);
/* oklch */ color: oklch(64.4% 0.135 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b364',
    500: '#8f951b',
    950: '#000000',
  },
}
SCSS
$custom: #8f951b;
$custom-light: #b3b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8f951b",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 62.951,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.64396,
    "c": 0.13517,
    "h": 112.6
  },
  "luminance": 0.27414
}

Semantic roles & 50–950 ramp

primary
#8F951B
secondary
#514BC1
accent
#3CEC44
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F951B

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

Preview Lab → · Contrast checker → · Palette generator →

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