#8F9B1F#8F9B1F

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

Color values

HEX#8F9B1F
RGBrgb(143, 155, 31)
HSLhsl(66, 67%, 36%)
HSVhsv(66, 80%, 61%)
CMYKcmyk(7.7%, 0%, 80%, 39.2%)
CIE-LABlab(61.12, -19.49, 57.97)
CIE-LCHlch(61.12, 61.16, 108.58°)
OKLaboklab(65.81% -0.0598 0.1264)
OKLCHoklch(65.81% 0.14 115.3)
XYZxyz(23.2970, 29.3817, 5.7400)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9B1F #2B1F9B
analogous
#9B691F #8F9B1F #519B1F
triadic
#8F9B1F #1F8F9B #9B1F8F
tetradic
#8F9B1F #1F9B69 #2B1F9B #9B1F51
square
#8F9B1F #1F9B69 #2B1F9B #9B1F51
split-complementary
#8F9B1F #1F519B #691F9B
monochromatic
#31350B #606815 #8F9B1F #BECE29 #D0DD57

Accessibility & contrast

On white

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

On black

6.88
#8F9B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9B1F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9B1F#FFFFFF#000000##000000
##8F9B1F1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f9b1f;
/* rgb */ color: rgb(143, 155, 31);
/* oklch */ color: oklch(65.8% 0.140 115.3);
Tailwind
colors: {
  custom: {
    50: '#b3b867',
    500: '#8f9b1f',
    950: '#000000',
  },
}
SCSS
$custom: #8f9b1f;
$custom-light: #b3b867;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9b1f",
  "rgb": {
    "r": 143,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 65.806,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65814,
    "c": 0.1398,
    "h": 115.3
  },
  "luminance": 0.29381
}

Semantic roles & 50–950 ramp

primary
#8F9B1F
secondary
#5F55C1
accent
#3EEA4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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