#8F9722#8F9722

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

Color values

HEX#8F9722
RGBrgb(143, 151, 34)
HSLhsl(64, 63%, 36%)
HSVhsv(64, 77%, 59%)
CMYKcmyk(5.3%, 0%, 77.5%, 40.8%)
CIE-LABlab(59.97, -17.31, 55.99)
CIE-LCHlch(59.97, 58.60, 107.18°)
OKLaboklab(64.9% -0.0535 0.1227)
OKLCHoklch(64.9% 0.134 113.6)
XYZxyz(22.6837, 28.0888, 5.7398)
Luminance0.2809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9722 #2A2297
analogous
#976522 #8F9722 #559722
triadic
#8F9722 #228F97 #97228F
tetradic
#8F9722 #229765 #2A2297 #972255
square
#8F9722 #229765 #2A2297 #972255
split-complementary
#8F9722 #225597 #652297
monochromatic
#30330C #606517 #8F9722 #BEC92D #D1DA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9722#FFFFFF#000000##000000
##8F97221.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)
#A38F03
Deuteranopia (green-blind)
#A2922C
Tritanopia (blue-blind)
#998E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f9722;
/* rgb */ color: rgb(143, 151, 34);
/* oklch */ color: oklch(64.9% 0.134 113.6);
Tailwind
colors: {
  custom: {
    50: '#b3b567',
    500: '#8f9722',
    950: '#000000',
  },
}
SCSS
$custom: #8f9722;
$custom-light: #b3b567;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9722",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 64.103,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64898,
    "c": 0.13386,
    "h": 113.6
  },
  "luminance": 0.28088
}

Semantic roles & 50–950 ramp

primary
#8F9722
secondary
#5E57BE
accent
#42E64D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9722

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

Preview Lab → · Contrast checker → · Palette generator →

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