#8F7E20#8F7E20

#8F7E20 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.111 H 98.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8F7E20
RGBrgb(143, 126, 32)
HSLhsl(51, 63%, 34%)
HSVhsv(51, 78%, 56%)
CMYKcmyk(0%, 11.9%, 77.6%, 43.9%)
CIE-LABlab(52.80, -3.95, 50.04)
CIE-LCHlch(52.80, 50.20, 94.52°)
OKLaboklab(59.18% -0.0163 0.1097)
OKLCHoklch(59.18% 0.111 98.5)
XYZxyz(19.0502, 20.8666, 4.3904)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E20 #20318F
analogous
#8F4720 #8F7E20 #698F20
triadic
#8F7E20 #208F7E #7E208F
tetradic
#8F7E20 #208F47 #20318F #8F2069
square
#8F7E20 #208F47 #20318F #8F2069
split-complementary
#8F7E20 #20698F #47208F
monochromatic
#2B260A #5D5215 #8F7E20 #C1AA2B #D8C351

Accessibility & contrast

On white

4.06
#8F7E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8F7E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E20
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E20#FFFFFF#000000##000000
##8F7E201.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0D
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#9B746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e20;
/* rgb */ color: rgb(143, 126, 32);
/* oklch */ color: oklch(59.2% 0.111 98.5);
Tailwind
colors: {
  custom: {
    50: '#b3a363',
    500: '#8f7e20',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e20;
$custom-light: #b3a363;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e20",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 50.811,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.11087,
    "h": 98.5
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#8F7E20
secondary
#4F60BB
accent
#5BE641
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8F7E20

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

Preview Lab → · Contrast checker → · Palette generator →

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