#8F851A#8F851A

#8F851A is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.120 H 103.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8F851A
RGBrgb(143, 133, 26)
HSLhsl(55, 69%, 33%)
HSVhsv(55, 82%, 56%)
CMYKcmyk(0%, 7%, 81.8%, 43.9%)
CIE-LABlab(54.75, -8.05, 53.83)
CIE-LCHlch(54.75, 54.43, 98.51°)
OKLaboklab(60.72% -0.0284 0.1165)
OKLCHoklch(60.72% 0.12 103.7)
XYZxyz(19.9026, 22.6901, 4.3084)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F851A #1A248F
analogous
#8F4A1A #8F851A #5E8F1A
triadic
#8F851A #1A8F85 #851A8F
tetradic
#8F851A #1A8F4A #1A248F #8F1A5E
square
#8F851A #1A8F4A #1A248F #8F1A5E
split-complementary
#8F851A #1A5E8F #4A1A8F
monochromatic
#272507 #5B5511 #8F851A #C3B523 #DDD046

Accessibility & contrast

On white

3.79
#8F851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8F851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F851A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F851A#FFFFFF#000000##000000
##8F851A1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#9A7B71
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f851a;
/* rgb */ color: rgb(143, 133, 26);
/* oklch */ color: oklch(60.7% 0.120 103.7);
Tailwind
colors: {
  custom: {
    50: '#b4a861',
    500: '#8f851a',
    950: '#000000',
  },
}
SCSS
$custom: #8f851a;
$custom-light: #b4a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8f851a",
  "rgb": {
    "r": 143,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 54.872,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.11996,
    "h": 103.7
  },
  "luminance": 0.22689
}

Semantic roles & 50–950 ramp

primary
#8F851A
secondary
#4650BF
accent
#4BEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F851A

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

Preview Lab → · Contrast checker → · Palette generator →

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