#8F9E1E#8F9E1E

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

Color values

HEX#8F9E1E
RGBrgb(143, 158, 30)
HSLhsl(67, 68%, 37%)
HSVhsv(67, 81%, 62%)
CMYKcmyk(9.5%, 0%, 81%, 38%)
CIE-LABlab(61.99, -21.05, 59.03)
CIE-LCHlch(61.99, 62.67, 109.62°)
OKLaboklab(66.51% -0.0642 0.1285)
OKLCHoklch(66.51% 0.144 116.5)
XYZxyz(23.7895, 30.3874, 5.8402)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E1E #2D1E9E
analogous
#9E6D1E #8F9E1E #4F9E1E
triadic
#8F9E1E #1E8F9E #9E1E8F
tetradic
#8F9E1E #1E9E6D #2D1E9E #9E1E4F
square
#8F9E1E #1E9E6D #2D1E9E #9E1E4F
split-complementary
#8F9E1E #1E4F9E #6D1E9E
monochromatic
#32370A #606B14 #8F9E1E #BED128 #CFDF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9E1E#FFFFFF#000000##000000
##8F9E1E1.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)
#A8972B
Tritanopia (blue-blind)
#999587
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9e1e;
/* rgb */ color: rgb(143, 158, 30);
/* oklch */ color: oklch(66.5% 0.144 116.5);
Tailwind
colors: {
  custom: {
    50: '#b3ba67',
    500: '#8f9e1e',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e1e;
$custom-light: #b3ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e1e",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 30
  },
  "hsl": {
    "h": 67.031,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.14359,
    "h": 116.5
  },
  "luminance": 0.30387
}

Semantic roles & 50–950 ramp

primary
#8F9E1E
secondary
#6255C3
accent
#3DEB51
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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