#8F803E#8F803E

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

Color values

HEX#8F803E
RGBrgb(143, 128, 62)
HSLhsl(49, 40%, 40%)
HSVhsv(49, 57%, 56%)
CMYKcmyk(0%, 10.5%, 56.6%, 43.9%)
CIE-LABlab(53.63, -3.14, 37.41)
CIE-LCHlch(53.63, 37.54, 94.80°)
OKLaboklab(59.92% -0.0104 0.0877)
OKLCHoklch(59.92% 0.088 96.8)
XYZxyz(19.9171, 21.6266, 7.6817)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F803E #3E4D8F
analogous
#8F583E #8F803E #758F3E
triadic
#8F803E #3E8F80 #803E8F
tetradic
#8F803E #3E8F58 #3E4D8F #8F3E75
square
#8F803E #3E8F58 #3E4D8F #8F3E75
split-complementary
#8F803E #3E758F #583E8F
monochromatic
#3A3419 #645A2B #8F803E #B5A355 #C8BA80

Accessibility & contrast

On white

3.94
#8F803E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8F803E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F803E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F803E#FFFFFF#000000##000000
##8F803E1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D38
Deuteranopia (green-blind)
#8F8241
Tritanopia (blue-blind)
#997871
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f803e;
/* rgb */ color: rgb(143, 128, 62);
/* oklch */ color: oklch(59.9% 0.088 96.8);
Tailwind
colors: {
  custom: {
    50: '#b2a475',
    500: '#8f803e',
    950: '#000000',
  },
}
SCSS
$custom: #8f803e;
$custom-light: #b2a475;
$custom-dark: #000000;
JSON
{
  "hex": "#8f803e",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 62
  },
  "hsl": {
    "h": 48.889,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59919,
    "c": 0.0883,
    "h": 96.8
  },
  "luminance": 0.21626
}

Semantic roles & 50–950 ramp

primary
#8F803E
secondary
#7782B2
accent
#6ECF58
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8F803E

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

Preview Lab → · Contrast checker → · Palette generator →

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