#8F8624#8F8624

#8F8624 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.115 H 104.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8F8624
RGBrgb(143, 134, 36)
HSLhsl(55, 60%, 35%)
HSVhsv(55, 75%, 56%)
CMYKcmyk(0%, 6.3%, 74.8%, 43.9%)
CIE-LABlab(55.09, -8.18, 50.72)
CIE-LCHlch(55.09, 51.37, 99.16°)
OKLaboklab(61.01% -0.0278 0.1119)
OKLCHoklch(61.01% 0.115 104)
XYZxyz(20.1721, 23.0180, 5.0491)
Luminance0.2302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8624 #242D8F
analogous
#8F5024 #8F8624 #638F24
triadic
#8F8624 #248F86 #86248F
tetradic
#8F8624 #248F50 #242D8F #8F2463
square
#8F8624 #248F50 #242D8F #8F2463
split-complementary
#8F8624 #24638F #50248F
monochromatic
#2D2A0B #5E5818 #8F8624 #C0B430 #D5CB58

Accessibility & contrast

On white

3.75
#8F8624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8F8624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8624
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8624#FFFFFF#000000##000000
##8F86241.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928112
Deuteranopia (green-blind)
#95862B
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8624;
/* rgb */ color: rgb(143, 134, 36);
/* oklch */ color: oklch(61.0% 0.115 104.0);
Tailwind
colors: {
  custom: {
    50: '#b3a866',
    500: '#8f8624',
    950: '#000000',
  },
}
SCSS
$custom: #8f8624;
$custom-light: #b3a866;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8624",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 54.953,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61005,
    "c": 0.1153,
    "h": 104
  },
  "luminance": 0.23017
}

Semantic roles & 50–950 ramp

primary
#8F8624
secondary
#555EB9
accent
#52E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8624

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

Preview Lab → · Contrast checker → · Palette generator →

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