#8F9526#8F9526

#8F9526 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.5% C 0.129 H 112.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8F9526
RGBrgb(143, 149, 38)
HSLhsl(63, 59%, 37%)
HSVhsv(63, 74%, 58%)
CMYKcmyk(4%, 0%, 74.5%, 41.6%)
CIE-LABlab(59.41, -16.09, 54.10)
CIE-LCHlch(59.41, 56.44, 106.56°)
OKLaboklab(64.46% -0.0498 0.1194)
OKLCHoklch(64.46% 0.129 112.6)
XYZxyz(22.4257, 27.4750, 5.9552)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9526 #2C2695
analogous
#956426 #8F9526 #589526
triadic
#8F9526 #268F95 #95268F
tetradic
#8F9526 #269564 #2C2695 #952658
square
#8F9526 #269564 #2C2695 #952658
split-complementary
#8F9526 #265895 #642695
monochromatic
#31330D #60641A #8F9526 #BEC632 #D0D65F

Accessibility & contrast

On white

3.23
#8F9526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#8F9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9526
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9526#FFFFFF#000000##000000
##8F95261.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0F
Deuteranopia (green-blind)
#A1902F
Tritanopia (blue-blind)
#998C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f9526;
/* rgb */ color: rgb(143, 149, 38);
/* oklch */ color: oklch(64.5% 0.129 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b469',
    500: '#8f9526',
    950: '#000000',
  },
}
SCSS
$custom: #8f9526;
$custom-light: #b3b469;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9526",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 63.243,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64458,
    "c": 0.12939,
    "h": 112.6
  },
  "luminance": 0.27474
}

Semantic roles & 50–950 ramp

primary
#8F9526
secondary
#615BBB
accent
#45E34E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9526

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

Preview Lab → · Contrast checker → · Palette generator →

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