#8F831E#8F831E

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

Color values

HEX#8F831E
RGBrgb(143, 131, 30)
HSLhsl(54, 65%, 34%)
HSVhsv(54, 79%, 56%)
CMYKcmyk(0%, 8.4%, 79%, 43.9%)
CIE-LABlab(54.20, -6.80, 52.05)
CIE-LCHlch(54.20, 52.49, 97.45°)
OKLaboklab(60.29% -0.0246 0.1135)
OKLCHoklch(60.29% 0.116 102.2)
XYZxyz(19.6793, 22.1669, 4.4701)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F831E #1E2A8F
analogous
#8F4B1E #8F831E #638F1E
triadic
#8F831E #1E8F83 #831E8F
tetradic
#8F831E #1E8F4B #1E2A8F #8F1E63
square
#8F831E #1E8F4B #1E2A8F #8F1E63
split-complementary
#8F831E #1E638F #4B1E8F
monochromatic
#2A2609 #5C5513 #8F831E #C2B129 #DACB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F831E#FFFFFF#000000##000000
##8F831E1.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)
#907F06
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#9A7970
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f831e;
/* rgb */ color: rgb(143, 131, 30);
/* oklch */ color: oklch(60.3% 0.116 102.2);
Tailwind
colors: {
  custom: {
    50: '#b3a663',
    500: '#8f831e',
    950: '#000000',
  },
}
SCSS
$custom: #8f831e;
$custom-light: #b3a663;
$custom-dark: #000000;
JSON
{
  "hex": "#8f831e",
  "rgb": {
    "r": 143,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 53.628,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60289,
    "c": 0.11615,
    "h": 102.2
  },
  "luminance": 0.22166
}

Semantic roles & 50–950 ramp

primary
#8F831E
secondary
#4C58BC
accent
#51E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F831E

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

Preview Lab → · Contrast checker → · Palette generator →

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