#8F8620#8F8620

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

Color values

HEX#8F8620
RGBrgb(143, 134, 32)
HSLhsl(55, 63%, 34%)
HSVhsv(55, 78%, 56%)
CMYKcmyk(0%, 6.3%, 77.6%, 43.9%)
CIE-LABlab(55.07, -8.36, 52.15)
CIE-LCHlch(55.07, 52.81, 99.11°)
OKLaboklab(60.98% -0.0287 0.1141)
OKLCHoklch(60.98% 0.118 104.1)
XYZxyz(20.1144, 22.9949, 4.7452)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8620 #20298F
analogous
#8F4F20 #8F8620 #618F20
triadic
#8F8620 #208F86 #86208F
tetradic
#8F8620 #208F4F #20298F #8F2061
square
#8F8620 #208F4F #20298F #8F2061
split-complementary
#8F8620 #20618F #4F208F
monochromatic
#2B280A #5D5715 #8F8620 #C1B52B #D8CD51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8620#FFFFFF#000000##000000
##8F86201.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)
#938109
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8620;
/* rgb */ color: rgb(143, 134, 32);
/* oklch */ color: oklch(61.0% 0.118 104.1);
Tailwind
colors: {
  custom: {
    50: '#b3a864',
    500: '#8f8620',
    950: '#000000',
  },
}
SCSS
$custom: #8f8620;
$custom-light: #b3a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8620",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 55.135,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.11771,
    "h": 104.1
  },
  "luminance": 0.22994
}

Semantic roles & 50–950 ramp

primary
#8F8620
secondary
#4F58BB
accent
#4FE641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8620

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

Preview Lab → · Contrast checker → · Palette generator →

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