#8F831A#8F831A

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

Color values

HEX#8F831A
RGBrgb(143, 131, 26)
HSLhsl(54, 69%, 33%)
HSVhsv(54, 82%, 56%)
CMYKcmyk(0%, 8.4%, 81.8%, 43.9%)
CIE-LABlab(54.18, -6.96, 53.33)
CIE-LCHlch(54.18, 53.79, 97.43°)
OKLaboklab(60.27% -0.0254 0.1155)
OKLCHoklch(60.27% 0.118 102.4)
XYZxyz(19.6314, 22.1477, 4.2180)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F831A #1A268F
analogous
#8F481A #8F831A #608F1A
triadic
#8F831A #1A8F83 #831A8F
tetradic
#8F831A #1A8F48 #1A268F #8F1A60
square
#8F831A #1A8F48 #1A268F #8F1A60
split-complementary
#8F831A #1A608F #481A8F
monochromatic
#272407 #5B5411 #8F831A #C3B223 #DDCE46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F831A#FFFFFF#000000##000000
##8F831A1.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)
#907F00
Deuteranopia (green-blind)
#938423
Tritanopia (blue-blind)
#9B7970
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f831a;
/* rgb */ color: rgb(143, 131, 26);
/* oklch */ color: oklch(60.3% 0.118 102.4);
Tailwind
colors: {
  custom: {
    50: '#b4a661',
    500: '#8f831a',
    950: '#000000',
  },
}
SCSS
$custom: #8f831a;
$custom-light: #b4a661;
$custom-dark: #000000;
JSON
{
  "hex": "#8f831a",
  "rgb": {
    "r": 143,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 53.846,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60266,
    "c": 0.11821,
    "h": 102.4
  },
  "luminance": 0.22147
}

Semantic roles & 50–950 ramp

primary
#8F831A
secondary
#4652BF
accent
#4EEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F831A

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

Preview Lab → · Contrast checker → · Palette generator →

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