#8F8724#8F8724

#8F8724 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.2% C 0.116 H 104.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8F8724
RGBrgb(143, 135, 36)
HSLhsl(56, 60%, 35%)
HSVhsv(56, 75%, 56%)
CMYKcmyk(0%, 5.6%, 74.8%, 43.9%)
CIE-LABlab(55.38, -8.73, 50.99)
CIE-LCHlch(55.38, 51.73, 99.71°)
OKLaboklab(61.23% -0.0294 0.1125)
OKLCHoklch(61.23% 0.116 104.6)
XYZxyz(20.3110, 23.2958, 5.0954)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8724 #242C8F
analogous
#8F5124 #8F8724 #618F24
triadic
#8F8724 #248F87 #87248F
tetradic
#8F8724 #248F51 #242C8F #8F2461
square
#8F8724 #248F51 #242C8F #8F2461
split-complementary
#8F8724 #24618F #51248F
monochromatic
#2D2B0B #5E5918 #8F8724 #C0B530 #D5CC58

Accessibility & contrast

On white

3.71
#8F8724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8F8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8724
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8724#FFFFFF#000000##000000
##8F87241.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#9A7D74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8724;
/* rgb */ color: rgb(143, 135, 36);
/* oklch */ color: oklch(61.2% 0.116 104.6);
Tailwind
colors: {
  custom: {
    50: '#b3a966',
    500: '#8f8724',
    950: '#000000',
  },
}
SCSS
$custom: #8f8724;
$custom-light: #b3a966;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8724",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 55.514,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.11624,
    "h": 104.6
  },
  "luminance": 0.23295
}

Semantic roles & 50–950 ramp

primary
#8F8724
secondary
#555DB9
accent
#51E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8724

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

Preview Lab → · Contrast checker → · Palette generator →

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