#8F831D#8F831D

#8F831D is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.117 H 102.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8F831D
RGBrgb(143, 131, 29)
HSLhsl(54, 66%, 34%)
HSVhsv(54, 80%, 56%)
CMYKcmyk(0%, 8.4%, 79.7%, 43.9%)
CIE-LABlab(54.20, -6.84, 52.38)
CIE-LCHlch(54.20, 52.82, 97.45°)
OKLaboklab(60.28% -0.0248 0.114)
OKLCHoklch(60.28% 0.117 102.3)
XYZxyz(19.6667, 22.1618, 4.4039)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F831D #1D298F
analogous
#8F4A1D #8F831D #628F1D
triadic
#8F831D #1D8F83 #831D8F
tetradic
#8F831D #1D8F4A #1D298F #8F1D62
square
#8F831D #1D8F4A #1D298F #8F1D62
split-complementary
#8F831D #1D628F #4A1D8F
monochromatic
#292608 #5C5413 #8F831D #C2B227 #DBCC4C

Accessibility & contrast

On white

3.87
#8F831D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8F831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F831D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F831D#FFFFFF#000000##000000
##8F831D1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#9A7970
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f831d;
/* rgb */ color: rgb(143, 131, 29);
/* oklch */ color: oklch(60.3% 0.117 102.3);
Tailwind
colors: {
  custom: {
    50: '#b3a663',
    500: '#8f831d',
    950: '#000000',
  },
}
SCSS
$custom: #8f831d;
$custom-light: #b3a663;
$custom-dark: #000000;
JSON
{
  "hex": "#8f831d",
  "rgb": {
    "r": 143,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 53.684,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60283,
    "c": 0.11668,
    "h": 102.3
  },
  "luminance": 0.22161
}

Semantic roles & 50–950 ramp

primary
#8F831D
secondary
#4B57BD
accent
#51E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #8F831D

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

Preview Lab → · Contrast checker → · Palette generator →

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