#8F811E#8F811E

#8F811E is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.114 H 100.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8F811E
RGBrgb(143, 129, 30)
HSLhsl(53, 65%, 34%)
HSVhsv(53, 79%, 56%)
CMYKcmyk(0%, 9.8%, 79%, 43.9%)
CIE-LABlab(53.64, -5.70, 51.53)
CIE-LCHlch(53.64, 51.84, 96.32°)
OKLaboklab(59.84% -0.0215 0.1124)
OKLCHoklch(59.84% 0.114 100.8)
XYZxyz(19.4132, 21.6348, 4.3814)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F811E #1E2C8F
analogous
#8F491E #8F811E #658F1E
triadic
#8F811E #1E8F81 #811E8F
tetradic
#8F811E #1E8F49 #1E2C8F #8F1E65
square
#8F811E #1E8F49 #1E2C8F #8F1E65
split-complementary
#8F811E #1E658F #491E8F
monochromatic
#2A2609 #5C5313 #8F811E #C2AF29 #DAC84E

Accessibility & contrast

On white

3.94
#8F811E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8F811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F811E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F811E#FFFFFF#000000##000000
##8F811E1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#9B776E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f811e;
/* rgb */ color: rgb(143, 129, 30);
/* oklch */ color: oklch(59.8% 0.114 100.8);
Tailwind
colors: {
  custom: {
    50: '#b3a563',
    500: '#8f811e',
    950: '#000000',
  },
}
SCSS
$custom: #8f811e;
$custom-light: #b3a563;
$custom-dark: #000000;
JSON
{
  "hex": "#8f811e",
  "rgb": {
    "r": 143,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 52.566,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59839,
    "c": 0.11444,
    "h": 100.8
  },
  "luminance": 0.21634
}

Semantic roles & 50–950 ramp

primary
#8F811E
secondary
#4C5ABC
accent
#54E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #8F811E

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

Preview Lab → · Contrast checker → · Palette generator →

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