#8F8121#8F8121

#8F8121 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.113 H 100.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8F8121
RGBrgb(143, 129, 33)
HSLhsl(52, 63%, 35%)
HSVhsv(52, 77%, 56%)
CMYKcmyk(0%, 9.8%, 76.9%, 43.9%)
CIE-LABlab(53.65, -5.57, 50.47)
CIE-LCHlch(53.65, 50.78, 96.30°)
OKLaboklab(59.86% -0.0208 0.1108)
OKLCHoklch(59.86% 0.113 100.6)
XYZxyz(19.4534, 21.6509, 4.5929)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8121 #212F8F
analogous
#8F4A21 #8F8121 #668F21
triadic
#8F8121 #218F81 #81218F
tetradic
#8F8121 #218F4A #212F8F #8F2166
square
#8F8121 #218F4A #212F8F #8F2166
split-complementary
#8F8121 #21668F #4A218F
monochromatic
#2C270A #5D5416 #8F8121 #C1AE2C #D7C653

Accessibility & contrast

On white

3.94
#8F8121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8F8121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8121
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8121#FFFFFF#000000##000000
##8F81211.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#9A776F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f8121;
/* rgb */ color: rgb(143, 129, 33);
/* oklch */ color: oklch(59.9% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#b3a564',
    500: '#8f8121',
    950: '#000000',
  },
}
SCSS
$custom: #8f8121;
$custom-light: #b3a564;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8121",
  "rgb": {
    "r": 143,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 52.364,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59858,
    "c": 0.11272,
    "h": 100.6
  },
  "luminance": 0.2165
}

Semantic roles & 50–950 ramp

primary
#8F8121
secondary
#515EBB
accent
#57E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8121

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

Preview Lab → · Contrast checker → · Palette generator →

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