#8F7D20#8F7D20

#8F7D20 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.0% C 0.110 H 97.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8F7D20
RGBrgb(143, 125, 32)
HSLhsl(50, 63%, 34%)
HSVhsv(50, 78%, 56%)
CMYKcmyk(0%, 12.6%, 77.6%, 43.9%)
CIE-LABlab(52.52, -3.40, 49.78)
CIE-LCHlch(52.52, 49.90, 93.90°)
OKLaboklab(58.96% -0.0147 0.1091)
OKLCHoklch(58.96% 0.11 97.7)
XYZxyz(18.9230, 20.6121, 4.3480)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7D20 #20328F
analogous
#8F4520 #8F7D20 #6A8F20
triadic
#8F7D20 #208F7D #7D208F
tetradic
#8F7D20 #208F45 #20328F #8F206A
square
#8F7D20 #208F45 #20328F #8F206A
split-complementary
#8F7D20 #206A8F #45208F
monochromatic
#2B260A #5D5115 #8F7D20 #C1A92B #D8C251

Accessibility & contrast

On white

4.10
#8F7D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8F7D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7D20
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7D20#FFFFFF#000000##000000
##8F7D201.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#9B736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f7d20;
/* rgb */ color: rgb(143, 125, 32);
/* oklch */ color: oklch(59.0% 0.110 97.7);
Tailwind
colors: {
  custom: {
    50: '#b3a263',
    500: '#8f7d20',
    950: '#000000',
  },
}
SCSS
$custom: #8f7d20;
$custom-light: #b3a263;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7d20",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 50.27,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58958,
    "c": 0.11009,
    "h": 97.7
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#8F7D20
secondary
#4F61BB
accent
#5CE641
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8F7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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