#8F8420#8F8420

#8F8420 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.116 H 102.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8F8420
RGBrgb(143, 132, 32)
HSLhsl(54, 63%, 34%)
HSVhsv(54, 78%, 56%)
CMYKcmyk(0%, 7.7%, 77.6%, 43.9%)
CIE-LABlab(54.50, -7.27, 51.62)
CIE-LCHlch(54.50, 52.13, 98.02°)
OKLaboklab(60.53% -0.0257 0.113)
OKLCHoklch(60.53% 0.116 102.8)
XYZxyz(19.8406, 22.4473, 4.6539)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8420 #202B8F
analogous
#8F4D20 #8F8420 #638F20
triadic
#8F8420 #208F84 #84208F
tetradic
#8F8420 #208F4D #202B8F #8F2063
square
#8F8420 #208F4D #202B8F #8F2063
split-complementary
#8F8420 #20638F #4D208F
monochromatic
#2B280A #5D5615 #8F8420 #C1B22B #D8CB51

Accessibility & contrast

On white

3.83
#8F8420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8420#FFFFFF#000000##000000
##8F84201.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#9A7A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f8420;
/* rgb */ color: rgb(143, 132, 32);
/* oklch */ color: oklch(60.5% 0.116 102.8);
Tailwind
colors: {
  custom: {
    50: '#b3a764',
    500: '#8f8420',
    950: '#000000',
  },
}
SCSS
$custom: #8f8420;
$custom-light: #b3a764;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8420",
  "rgb": {
    "r": 143,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 54.054,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.1159,
    "h": 102.8
  },
  "luminance": 0.22446
}

Semantic roles & 50–950 ramp

primary
#8F8420
secondary
#4F5ABB
accent
#52E641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8420

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

Preview Lab → · Contrast checker → · Palette generator →

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