#8F9F1F#8F9F1F

#8F9F1F is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.8% C 0.144 H 117.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8F9F1F
RGBrgb(143, 159, 31)
HSLhsl(68, 67%, 37%)
HSVhsv(68, 81%, 62%)
CMYKcmyk(10.1%, 0%, 80.5%, 37.6%)
CIE-LABlab(62.28, -21.51, 59.01)
CIE-LCHlch(62.28, 62.81, 110.03°)
OKLaboklab(66.75% -0.0654 0.1286)
OKLCHoklch(66.75% 0.144 117)
XYZxyz(23.9738, 30.7352, 5.9656)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F1F #2F1F9F
analogous
#9F6F1F #8F9F1F #4F9F1F
triadic
#8F9F1F #1F8F9F #9F1F8F
tetradic
#8F9F1F #1F9F6F #2F1F9F #9F1F4F
square
#8F9F1F #1F9F6F #2F1F9F #9F1F4F
split-complementary
#8F9F1F #1F4F9F #6F1F9F
monochromatic
#33390B #616C15 #8F9F1F #BDD229 #CEDF5A

Accessibility & contrast

On white

2.94
#8F9F1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8F9F1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F1F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F1F#FFFFFF#000000##000000
##8F9F1F1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#989688
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f9f1f;
/* rgb */ color: rgb(143, 159, 31);
/* oklch */ color: oklch(66.8% 0.144 117.0);
Tailwind
colors: {
  custom: {
    50: '#b3bb67',
    500: '#8f9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f1f;
$custom-light: #b3bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f1f",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 67.5,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66751,
    "c": 0.14425,
    "h": 117
  },
  "luminance": 0.30735
}

Semantic roles & 50–950 ramp

primary
#8F9F1F
secondary
#6557C3
accent
#3EEA53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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