#8F9E28#8F9E28

#8F9E28 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.6% C 0.138 H 116.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8F9E28
RGBrgb(143, 158, 40)
HSLhsl(68, 60%, 39%)
HSVhsv(68, 75%, 62%)
CMYKcmyk(9.5%, 0%, 74.7%, 38%)
CIE-LABlab(62.04, -20.61, 55.89)
CIE-LCHlch(62.04, 59.57, 110.24°)
OKLaboklab(66.57% -0.0622 0.1236)
OKLCHoklch(66.57% 0.138 116.7)
XYZxyz(23.9382, 30.4469, 6.6229)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E28 #37289E
analogous
#9E7228 #8F9E28 #549E28
triadic
#8F9E28 #288F9E #9E288F
tetradic
#8F9E28 #289E72 #37289E #9E2854
square
#8F9E28 #289E72 #37289E #9E2854
split-complementary
#8F9E28 #28549E #72289E
monochromatic
#373C0F #636D1C #8F9E28 #B9CC37 #CAD968

Accessibility & contrast

On white

2.96
#8F9E28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#8F9E28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9E28
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9E28#FFFFFF#000000##000000
##8F9E281.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f9e28;
/* rgb */ color: rgb(143, 158, 40);
/* oklch */ color: oklch(66.6% 0.138 116.7);
Tailwind
colors: {
  custom: {
    50: '#b3ba6b',
    500: '#8f9e28',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e28;
$custom-light: #b3ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e28",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 67.627,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66568,
    "c": 0.13832,
    "h": 116.7
  },
  "luminance": 0.30447
}

Semantic roles & 50–950 ramp

primary
#8F9E28
secondary
#6F63BF
accent
#45E359
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9E28

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

Preview Lab → · Contrast checker → · Palette generator →

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