#8F882D#8F882D

#8F882D is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.5% C 0.111 H 104.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8F882D
RGBrgb(143, 136, 45)
HSLhsl(56, 52%, 37%)
HSVhsv(56, 69%, 56%)
CMYKcmyk(0%, 4.9%, 68.5%, 43.9%)
CIE-LABlab(55.72, -8.78, 47.73)
CIE-LCHlch(55.72, 48.53, 100.43°)
OKLaboklab(61.53% -0.0286 0.1072)
OKLCHoklch(61.53% 0.111 104.9)
XYZxyz(20.6063, 23.6382, 5.9593)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F882D #2D348F
analogous
#8F572D #8F882D #658F2D
triadic
#8F882D #2D8F88 #882D8F
tetradic
#8F882D #2D8F57 #2D348F #8F2D65
square
#8F882D #2D8F57 #2D348F #8F2D65
split-complementary
#8F882D #2D658F #572D8F
monochromatic
#322F10 #605C1E #8F882D #BEB43C #CFC867

Accessibility & contrast

On white

3.67
#8F882D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8F882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F882D
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F882D#FFFFFF#000000##000000
##8F882D1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948320
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f882d;
/* rgb */ color: rgb(143, 136, 45);
/* oklch */ color: oklch(61.5% 0.111 104.9);
Tailwind
colors: {
  custom: {
    50: '#b3aa6b',
    500: '#8f882d',
    950: '#000000',
  },
}
SCSS
$custom: #8f882d;
$custom-light: #b3aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f882d",
  "rgb": {
    "r": 143,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 55.714,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61529,
    "c": 0.11098,
    "h": 104.9
  },
  "luminance": 0.23637
}

Semantic roles & 50–950 ramp

primary
#8F882D
secondary
#6268B6
accent
#56DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F882D

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

Preview Lab → · Contrast checker → · Palette generator →

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