#8F8924#8F8924

#8F8924 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.118 H 105.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8F8924
RGBrgb(143, 137, 36)
HSLhsl(57, 60%, 35%)
HSVhsv(57, 75%, 56%)
CMYKcmyk(0%, 4.2%, 74.8%, 43.9%)
CIE-LABlab(55.95, -9.81, 51.53)
CIE-LCHlch(55.95, 52.46, 100.78°)
OKLaboklab(61.69% -0.0324 0.1136)
OKLCHoklch(61.69% 0.118 105.9)
XYZxyz(20.5926, 23.8591, 5.1893)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8924 #242A8F
analogous
#8F5424 #8F8924 #5F8F24
triadic
#8F8924 #248F89 #89248F
tetradic
#8F8924 #248F54 #242A8F #8F245F
square
#8F8924 #248F54 #242A8F #8F245F
split-complementary
#8F8924 #245F8F #54248F
monochromatic
#2D2B0B #5E5A18 #8F8924 #C0B830 #D5CE58

Accessibility & contrast

On white

3.64
#8F8924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8F8924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8924
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8924#FFFFFF#000000##000000
##8F89241.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958411
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#9A7F76
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f8924;
/* rgb */ color: rgb(143, 137, 36);
/* oklch */ color: oklch(61.7% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#b3ab67',
    500: '#8f8924',
    950: '#000000',
  },
}
SCSS
$custom: #8f8924;
$custom-light: #b3ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8924",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 56.636,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61686,
    "c": 0.11815,
    "h": 105.9
  },
  "luminance": 0.23858
}

Semantic roles & 50–950 ramp

primary
#8F8924
secondary
#555BB9
accent
#4EE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8924

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

Preview Lab → · Contrast checker → · Palette generator →

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