#8F951D#8F951D

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

Color values

HEX#8F951D
RGBrgb(143, 149, 29)
HSLhsl(63, 67%, 35%)
HSVhsv(63, 81%, 58%)
CMYKcmyk(4%, 0%, 80.5%, 41.6%)
CIE-LABlab(59.36, -16.47, 57.00)
CIE-LCHlch(59.36, 59.33, 106.12°)
OKLaboklab(64.41% -0.0516 0.1239)
OKLCHoklch(64.41% 0.134 112.6)
XYZxyz(22.2977, 27.4238, 5.2809)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F951D #231D95
analogous
#955F1D #8F951D #53951D
triadic
#8F951D #1D8F95 #951D8F
tetradic
#8F951D #1D955F #231D95 #951D53
square
#8F951D #1D955F #231D95 #951D53
split-complementary
#8F951D #1D5395 #5F1D95
monochromatic
#2D2F09 #5E6213 #8F951D #C0C827 #D6DD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8f951d;
/* rgb */ color: rgb(143, 149, 29);
/* oklch */ color: oklch(64.4% 0.134 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b365',
    500: '#8f951d',
    950: '#000000',
  },
}
SCSS
$custom: #8f951d;
$custom-light: #b3b365;
$custom-dark: #000000;
JSON
{
  "hex": "#8f951d",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 63,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.64405,
    "c": 0.13425,
    "h": 112.6
  },
  "luminance": 0.27423
}

Semantic roles & 50–950 ramp

primary
#8F951D
secondary
#544EC0
accent
#3DEA46
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F951D

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

Preview Lab → · Contrast checker → · Palette generator →

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