#8F8E15#8F8E15

#8F8E15 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.131 H 109.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8F8E15
RGBrgb(143, 142, 21)
HSLhsl(60, 74%, 32%)
HSVhsv(60, 85%, 56%)
CMYKcmyk(0%, 0.7%, 85.3%, 43.9%)
CIE-LABlab(57.31, -13.06, 57.41)
CIE-LCHlch(57.31, 58.88, 102.82°)
OKLaboklab(62.75% -0.0428 0.1233)
OKLCHoklch(62.75% 0.131 109.1)
XYZxyz(21.1369, 25.2405, 4.4678)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8E15 #15168F
analogous
#8F5115 #8F8E15 #538F15
triadic
#8F8E15 #158F8E #8E158F
tetradic
#8F8E15 #158F51 #15168F #8F1553
square
#8F8E15 #158F51 #15168F #8F1553
split-complementary
#8F8E15 #15538F #51158F
monochromatic
#242405 #5A590D #8F8E15 #C4C31D #E2E13C

Accessibility & contrast

On white

3.47
#8F8E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8F8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8E15
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8E15#FFFFFF#000000##000000
##8F8E151.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9C8B22
Tritanopia (blue-blind)
#9A8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8f8e15;
/* rgb */ color: rgb(143, 142, 21);
/* oklch */ color: oklch(62.8% 0.131 109.1);
Tailwind
colors: {
  custom: {
    50: '#b4ae61',
    500: '#8f8e15',
    950: '#000000',
  },
}
SCSS
$custom: #8f8e15;
$custom-light: #b4ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8e15",
  "rgb": {
    "r": 143,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 59.508,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62751,
    "c": 0.13054,
    "h": 109.1
  },
  "luminance": 0.2524
}

Semantic roles & 50–950 ramp

primary
#8F8E15
secondary
#3E3FC2
accent
#38F137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #8F8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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