#8F8424#8F8424

#8F8424 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.6% C 0.113 H 102.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8F8424
RGBrgb(143, 132, 36)
HSLhsl(54, 60%, 35%)
HSVhsv(54, 75%, 56%)
CMYKcmyk(0%, 7.7%, 74.8%, 43.9%)
CIE-LABlab(54.52, -7.09, 50.17)
CIE-LCHlch(54.52, 50.67, 98.04°)
OKLaboklab(60.55% -0.0248 0.1107)
OKLCHoklch(60.55% 0.113 102.6)
XYZxyz(19.8983, 22.4704, 4.9578)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8424 #242F8F
analogous
#8F4F24 #8F8424 #648F24
triadic
#8F8424 #248F84 #84248F
tetradic
#8F8424 #248F4F #242F8F #8F2464
square
#8F8424 #248F4F #242F8F #8F2464
split-complementary
#8F8424 #24648F #4F248F
monochromatic
#2D2A0B #5E5718 #8F8424 #C0B130 #D5C858

Accessibility & contrast

On white

3.82
#8F8424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8F8424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8424
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8424#FFFFFF#000000##000000
##8F84241.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#9A7A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f8424;
/* rgb */ color: rgb(143, 132, 36);
/* oklch */ color: oklch(60.6% 0.113 102.6);
Tailwind
colors: {
  custom: {
    50: '#b3a766',
    500: '#8f8424',
    950: '#000000',
  },
}
SCSS
$custom: #8f8424;
$custom-light: #b3a766;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8424",
  "rgb": {
    "r": 143,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 53.832,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.11347,
    "h": 102.6
  },
  "luminance": 0.2247
}

Semantic roles & 50–950 ramp

primary
#8F8424
secondary
#5560B9
accent
#55E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8424

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

Preview Lab → · Contrast checker → · Palette generator →

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