#8F9726#8F9726

#8F9726 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.9% C 0.132 H 113.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8F9726
RGBrgb(143, 151, 38)
HSLhsl(64, 60%, 37%)
HSVhsv(64, 75%, 59%)
CMYKcmyk(5.3%, 0%, 74.8%, 40.8%)
CIE-LABlab(59.99, -17.13, 54.65)
CIE-LCHlch(59.99, 57.27, 107.40°)
OKLaboklab(64.92% -0.0527 0.1206)
OKLCHoklch(64.92% 0.132 113.6)
XYZxyz(22.7448, 28.1133, 6.0616)
Luminance0.2811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9726 #2E2697
analogous
#976726 #8F9726 #579726
triadic
#8F9726 #268F97 #97268F
tetradic
#8F9726 #269767 #2E2697 #972657
square
#8F9726 #269767 #2E2697 #972657
split-complementary
#8F9726 #265797 #672697
monochromatic
#32350D #61661A #8F9726 #BDC832 #CFD760

Accessibility & contrast

On white

3.17
#8F9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#8F9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9726
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9726#FFFFFF#000000##000000
##8F97261.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0E
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#998E81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8f9726;
/* rgb */ color: rgb(143, 151, 38);
/* oklch */ color: oklch(64.9% 0.132 113.6);
Tailwind
colors: {
  custom: {
    50: '#b3b569',
    500: '#8f9726',
    950: '#000000',
  },
}
SCSS
$custom: #8f9726;
$custom-light: #b3b569;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9726",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 64.248,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64922,
    "c": 0.13159,
    "h": 113.6
  },
  "luminance": 0.28113
}

Semantic roles & 50–950 ramp

primary
#8F9726
secondary
#635CBC
accent
#45E350
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9726

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

Preview Lab → · Contrast checker → · Palette generator →

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