#8F9D1D#8F9D1D

#8F9D1D is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.3% C 0.143 H 116.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8F9D1D
RGBrgb(143, 157, 29)
HSLhsl(67, 69%, 36%)
HSVhsv(67, 82%, 62%)
CMYKcmyk(8.9%, 0%, 81.5%, 38.4%)
CIE-LABlab(61.69, -20.58, 59.06)
CIE-LCHlch(61.69, 62.54, 109.21°)
OKLaboklab(66.27% -0.063 0.1283)
OKLCHoklch(66.27% 0.143 116.1)
XYZxyz(23.6071, 30.0426, 5.7174)
Luminance0.3004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D1D #2B1D9D
analogous
#9D6B1D #8F9D1D #4F9D1D
triadic
#8F9D1D #1D8F9D #9D1D8F
tetradic
#8F9D1D #1D9D6B #2B1D9D #9D1D4F
square
#8F9D1D #1D9D6B #2B1D9D #9D1D4F
split-complementary
#8F9D1D #1D4F9D #6B1D9D
monochromatic
#31360A #606913 #8F9D1D #BED127 #D0E055

Accessibility & contrast

On white

3.00
#8F9D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#8F9D1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9D1D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9D1D#FFFFFF#000000##000000
##8F9D1D1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A7962A
Tritanopia (blue-blind)
#999486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d1d;
/* rgb */ color: rgb(143, 157, 29);
/* oklch */ color: oklch(66.3% 0.143 116.1);
Tailwind
colors: {
  custom: {
    50: '#b3b966',
    500: '#8f9d1d',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d1d;
$custom-light: #b3b966;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d1d",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 66.563,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66272,
    "c": 0.14293,
    "h": 116.1
  },
  "luminance": 0.30042
}

Semantic roles & 50–950 ramp

primary
#8F9D1D
secondary
#5F53C3
accent
#3CEC4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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