#8F8621#8F8621

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

Color values

HEX#8F8621
RGBrgb(143, 134, 33)
HSLhsl(55, 63%, 35%)
HSVhsv(55, 77%, 56%)
CMYKcmyk(0%, 6.3%, 76.9%, 43.9%)
CIE-LABlab(55.07, -8.32, 51.80)
CIE-LCHlch(55.07, 52.46, 99.12°)
OKLaboklab(60.99% -0.0285 0.1136)
OKLCHoklch(60.99% 0.117 104.1)
XYZxyz(20.1282, 23.0005, 4.8178)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8621 #212A8F
analogous
#8F4F21 #8F8621 #618F21
triadic
#8F8621 #218F86 #86218F
tetradic
#8F8621 #218F4F #212A8F #8F2161
square
#8F8621 #218F4F #212A8F #8F2161
split-complementary
#8F8621 #21618F #4F218F
monochromatic
#2C290A #5D5716 #8F8621 #C1B52C #D7CD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8621#FFFFFF#000000##000000
##8F86211.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)
#93810B
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8621;
/* rgb */ color: rgb(143, 134, 33);
/* oklch */ color: oklch(61.0% 0.117 104.1);
Tailwind
colors: {
  custom: {
    50: '#b3a865',
    500: '#8f8621',
    950: '#000000',
  },
}
SCSS
$custom: #8f8621;
$custom-light: #b3a865;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8621",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 33
  },
  "hsl": {
    "h": 55.091,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60985,
    "c": 0.11713,
    "h": 104.1
  },
  "luminance": 0.23
}

Semantic roles & 50–950 ramp

primary
#8F8621
secondary
#515ABB
accent
#50E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8621

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

Preview Lab → · Contrast checker → · Palette generator →

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