#8F803A#8F803A

#8F803A is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.092 H 97.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8F803A
RGBrgb(143, 128, 58)
HSLhsl(49, 42%, 39%)
HSVhsv(49, 59%, 56%)
CMYKcmyk(0%, 10.5%, 59.4%, 43.9%)
CIE-LABlab(53.58, -3.47, 39.38)
CIE-LCHlch(53.58, 39.53, 95.04°)
OKLaboklab(59.87% -0.0118 0.0915)
OKLCHoklch(59.87% 0.092 97.4)
XYZxyz(19.8114, 21.5843, 7.1248)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F803A #3A498F
analogous
#8F563A #8F803A #748F3A
triadic
#8F803A #3A8F80 #803A8F
tetradic
#8F803A #3A8F56 #3A498F #8F3A74
square
#8F803A #3A8F56 #3A498F #8F3A74
split-complementary
#8F803A #3A748F #563A8F
monochromatic
#383217 #635928 #8F803A #B7A54F #C9BB7A

Accessibility & contrast

On white

3.95
#8F803A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8F803A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F803A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F803A#FFFFFF#000000##000000
##8F803A1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D33
Deuteranopia (green-blind)
#90823D
Tritanopia (blue-blind)
#997770
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f803a;
/* rgb */ color: rgb(143, 128, 58);
/* oklch */ color: oklch(59.9% 0.092 97.4);
Tailwind
colors: {
  custom: {
    50: '#b2a473',
    500: '#8f803a',
    950: '#000000',
  },
}
SCSS
$custom: #8f803a;
$custom-light: #b2a473;
$custom-dark: #000000;
JSON
{
  "hex": "#8f803a",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 58
  },
  "hsl": {
    "h": 49.412,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59869,
    "c": 0.09222,
    "h": 97.4
  },
  "luminance": 0.21583
}

Semantic roles & 50–950 ramp

primary
#8F803A
secondary
#727EB3
accent
#6CD256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8F803A

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

Preview Lab → · Contrast checker → · Palette generator →

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