#8F951F#8F951F

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

Color values

HEX#8F951F
RGBrgb(143, 149, 31)
HSLhsl(63, 66%, 35%)
HSVhsv(63, 79%, 58%)
CMYKcmyk(4%, 0%, 79.2%, 41.6%)
CIE-LABlab(59.37, -16.40, 56.40)
CIE-LCHlch(59.37, 58.74, 106.21°)
OKLaboklab(64.42% -0.0512 0.123)
OKLCHoklch(64.42% 0.133 112.6)
XYZxyz(22.3232, 27.4340, 5.4154)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F951F #251F95
analogous
#95601F #8F951F #54951F
triadic
#8F951F #1F8F95 #951F8F
tetradic
#8F951F #1F9560 #251F95 #951F54
square
#8F951F #1F9560 #251F95 #951F54
split-complementary
#8F951F #1F5495 #601F95
monochromatic
#2E300A #5E6214 #8F951F #C0C82A #D4DB53

Accessibility & contrast

On white

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

On black

6.49
#8F951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F951F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F951F#FFFFFF#000000##000000
##8F951F1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f951f;
/* rgb */ color: rgb(143, 149, 31);
/* oklch */ color: oklch(64.4% 0.133 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b366',
    500: '#8f951f',
    950: '#000000',
  },
}
SCSS
$custom: #8f951f;
$custom-light: #b3b366;
$custom-dark: #000000;
JSON
{
  "hex": "#8f951f",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 63.051,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.13327,
    "h": 112.6
  },
  "luminance": 0.27433
}

Semantic roles & 50–950 ramp

primary
#8F951F
secondary
#5751BF
accent
#3FE948
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F951F

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

Preview Lab → · Contrast checker → · Palette generator →

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