#8F8221#8F8221

#8F8221 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.1% C 0.114 H 101.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8F8221
RGBrgb(143, 130, 33)
HSLhsl(53, 63%, 35%)
HSVhsv(53, 77%, 56%)
CMYKcmyk(0%, 9.1%, 76.9%, 43.9%)
CIE-LABlab(53.94, -6.13, 50.74)
CIE-LCHlch(53.94, 51.11, 96.88°)
OKLaboklab(60.08% -0.0224 0.1113)
OKLCHoklch(60.08% 0.114 101.4)
XYZxyz(19.5858, 21.9156, 4.6370)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8221 #212E8F
analogous
#8F4B21 #8F8221 #658F21
triadic
#8F8221 #218F82 #82218F
tetradic
#8F8221 #218F4B #212E8F #8F2165
square
#8F8221 #218F4B #212E8F #8F2165
split-complementary
#8F8221 #21658F #4B218F
monochromatic
#2C280A #5D5516 #8F8221 #C1AF2C #D7C853

Accessibility & contrast

On white

3.90
#8F8221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8F8221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8221
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8221#FFFFFF#000000##000000
##8F82211.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0D
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#9A786F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f8221;
/* rgb */ color: rgb(143, 130, 33);
/* oklch */ color: oklch(60.1% 0.114 101.4);
Tailwind
colors: {
  custom: {
    50: '#b3a664',
    500: '#8f8221',
    950: '#000000',
  },
}
SCSS
$custom: #8f8221;
$custom-light: #b3a664;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8221",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 52.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.11356,
    "h": 101.4
  },
  "luminance": 0.21915
}

Semantic roles & 50–950 ramp

primary
#8F8221
secondary
#515DBB
accent
#56E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8221

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

Preview Lab → · Contrast checker → · Palette generator →

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