#8F9E1F#8F9E1F

#8F9E1F is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.5% C 0.143 H 116.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8F9E1F
RGBrgb(143, 158, 31)
HSLhsl(67, 67%, 37%)
HSVhsv(67, 80%, 62%)
CMYKcmyk(9.5%, 0%, 80.4%, 38%)
CIE-LABlab(61.99, -21.01, 58.75)
CIE-LCHlch(61.99, 62.39, 109.68°)
OKLaboklab(66.52% -0.064 0.128)
OKLCHoklch(66.52% 0.143 116.6)
XYZxyz(23.8025, 30.3926, 5.9085)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E1F #2E1F9E
analogous
#9E6E1F #8F9E1F #4F9E1F
triadic
#8F9E1F #1F8F9E #9E1F8F
tetradic
#8F9E1F #1F9E6E #2E1F9E #9E1F4F
square
#8F9E1F #1F9E6E #2E1F9E #9E1F4F
split-complementary
#8F9E1F #1F4F9E #6E1F9E
monochromatic
#32380B #616B15 #8F9E1F #BDD129 #CFDE59

Accessibility & contrast

On white

2.97
#8F9E1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#8F9E1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9E1F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9E1F#FFFFFF#000000##000000
##8F9E1F1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A8972C
Tritanopia (blue-blind)
#989587
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9e1f;
/* rgb */ color: rgb(143, 158, 31);
/* oklch */ color: oklch(66.5% 0.143 116.6);
Tailwind
colors: {
  custom: {
    50: '#b3ba67',
    500: '#8f9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e1f;
$custom-light: #b3ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e1f",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 67.087,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66516,
    "c": 0.14313,
    "h": 116.6
  },
  "luminance": 0.30392
}

Semantic roles & 50–950 ramp

primary
#8F9E1F
secondary
#6356C2
accent
#3EEA52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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