#8F802E#8F802E

#8F802E is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.103 H 98.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8F802E
RGBrgb(143, 128, 46)
HSLhsl(51, 51%, 37%)
HSVhsv(51, 68%, 56%)
CMYKcmyk(0%, 10.5%, 67.8%, 43.9%)
CIE-LABlab(53.47, -4.32, 44.95)
CIE-LCHlch(53.47, 45.16, 95.49°)
OKLaboklab(59.74% -0.0158 0.1016)
OKLCHoklch(59.74% 0.103 98.8)
XYZxyz(19.5409, 21.4761, 5.7003)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F802E #2E3D8F
analogous
#8F502E #8F802E #6E8F2E
triadic
#8F802E #2E8F80 #802E8F
tetradic
#8F802E #2E8F50 #2E3D8F #8F2E6E
square
#8F802E #2E8F50 #2E3D8F #8F2E6E
split-complementary
#8F802E #2E6E8F #502E8F
monochromatic
#322D10 #61571F #8F802E #BDA93D #CFBF69

Accessibility & contrast

On white

3.97
#8F802E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8F802E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F802E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F802E#FFFFFF#000000##000000
##8F802E1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D24
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#9A776F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f802e;
/* rgb */ color: rgb(143, 128, 46);
/* oklch */ color: oklch(59.7% 0.103 98.8);
Tailwind
colors: {
  custom: {
    50: '#b3a46b',
    500: '#8f802e',
    950: '#000000',
  },
}
SCSS
$custom: #8f802e;
$custom-light: #b3a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f802e",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 50.722,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59739,
    "c": 0.10277,
    "h": 98.8
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

primary
#8F802E
secondary
#6370B6
accent
#63DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F802E

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

Preview Lab → · Contrast checker → · Palette generator →

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