#8F9B1D#8F9B1D

#8F9B1D is a light, vivid yellow. Relative luminance 0.294; OKLCH L 65.8% C 0.141 H 115.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8F9B1D
RGBrgb(143, 155, 29)
HSLhsl(66, 68%, 36%)
HSVhsv(66, 81%, 61%)
CMYKcmyk(7.7%, 0%, 81.3%, 39.2%)
CIE-LABlab(61.11, -19.56, 58.54)
CIE-LCHlch(61.11, 61.73, 108.48°)
OKLaboklab(65.8% -0.0602 0.1272)
OKLCHoklch(65.8% 0.141 115.3)
XYZxyz(23.2715, 29.3714, 5.6055)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9B1D #291D9B
analogous
#9B681D #8F9B1D #509B1D
triadic
#8F9B1D #1D8F9B #9B1D8F
tetradic
#8F9B1D #1D9B68 #291D9B #9B1D50
square
#8F9B1D #1D9B68 #291D9B #9B1D50
split-complementary
#8F9B1D #1D509B #681D9B
monochromatic
#30340A #5F6713 #8F9B1D #BFCF27 #D2DF53

Accessibility & contrast

On white

3.05
#8F9B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8F9B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9B1D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9B1D#FFFFFF#000000##000000
##8F9B1D1.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A6942A
Tritanopia (blue-blind)
#999284
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8f9b1d;
/* rgb */ color: rgb(143, 155, 29);
/* oklch */ color: oklch(65.8% 0.141 115.3);
Tailwind
colors: {
  custom: {
    50: '#b3b866',
    500: '#8f9b1d',
    950: '#000000',
  },
}
SCSS
$custom: #8f9b1d;
$custom-light: #b3b866;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9b1d",
  "rgb": {
    "r": 143,
    "g": 155,
    "b": 29
  },
  "hsl": {
    "h": 65.714,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65804,
    "c": 0.14073,
    "h": 115.3
  },
  "luminance": 0.29371
}

Semantic roles & 50–950 ramp

primary
#8F9B1D
secondary
#5C52C2
accent
#3CEB4D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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