#8F8220#8F8220

#8F8220 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#8F8220
RGBrgb(143, 130, 32)
HSLhsl(53, 63%, 34%)
HSVhsv(53, 78%, 56%)
CMYKcmyk(0%, 9.1%, 77.6%, 43.9%)
CIE-LABlab(53.93, -6.17, 51.09)
CIE-LCHlch(53.93, 51.47, 96.89°)
OKLaboklab(60.08% -0.0226 0.1119)
OKLCHoklch(60.08% 0.114 101.4)
XYZxyz(19.5720, 21.9101, 4.5644)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8220 #202D8F
analogous
#8F4B20 #8F8220 #658F20
triadic
#8F8220 #208F82 #82208F
tetradic
#8F8220 #208F4B #202D8F #8F2065
square
#8F8220 #208F4B #202D8F #8F2065
split-complementary
#8F8220 #20658F #4B208F
monochromatic
#2B270A #5D5515 #8F8220 #C1AF2B #D8C851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8220#FFFFFF#000000##000000
##8F82201.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)
#8F7E0B
Deuteranopia (green-blind)
#938327
Tritanopia (blue-blind)
#9A786F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f8220;
/* rgb */ color: rgb(143, 130, 32);
/* oklch */ color: oklch(60.1% 0.114 101.4);
Tailwind
colors: {
  custom: {
    50: '#b3a664',
    500: '#8f8220',
    950: '#000000',
  },
}
SCSS
$custom: #8f8220;
$custom-light: #b3a664;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8220",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 52.973,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60076,
    "c": 0.11416,
    "h": 101.4
  },
  "luminance": 0.21909
}

Semantic roles & 50–950 ramp

primary
#8F8220
secondary
#4F5CBB
accent
#55E641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8220

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

Preview Lab → · Contrast checker → · Palette generator →

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