#8F8A15#8F8A15

#8F8A15 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.127 H 106.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8F8A15
RGBrgb(143, 138, 21)
HSLhsl(58, 74%, 32%)
HSVhsv(58, 85%, 56%)
CMYKcmyk(0%, 3.5%, 85.3%, 43.9%)
CIE-LABlab(56.16, -10.92, 56.45)
CIE-LCHlch(56.16, 57.49, 100.95°)
OKLaboklab(61.83% -0.0368 0.1212)
OKLCHoklch(61.83% 0.127 106.9)
XYZxyz(20.5524, 24.0715, 4.2730)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A15 #151A8F
analogous
#8F4D15 #8F8A15 #578F15
triadic
#8F8A15 #158F8A #8A158F
tetradic
#8F8A15 #158F4D #151A8F #8F1557
square
#8F8A15 #158F4D #151A8F #8F1557
split-complementary
#8F8A15 #15578F #4D158F
monochromatic
#242305 #5A570D #8F8A15 #C4BD1D #E2DC3C

Accessibility & contrast

On white

3.61
#8F8A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8F8A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A15
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A15#FFFFFF#000000##000000
##8F8A151.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#998921
Tritanopia (blue-blind)
#9A8075
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a15;
/* rgb */ color: rgb(143, 138, 21);
/* oklch */ color: oklch(61.8% 0.127 106.9);
Tailwind
colors: {
  custom: {
    50: '#b4ab60',
    500: '#8f8a15',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a15;
$custom-light: #b4ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a15",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 57.541,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61833,
    "c": 0.1267,
    "h": 106.9
  },
  "luminance": 0.24071
}

Semantic roles & 50–950 ramp

primary
#8F8A15
secondary
#3E43C2
accent
#3EF137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #8F8A15

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

Preview Lab → · Contrast checker → · Palette generator →

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