#8F891D#8F891D

#8F891D is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.122 H 106.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8F891D
RGBrgb(143, 137, 29)
HSLhsl(57, 66%, 34%)
HSVhsv(57, 80%, 56%)
CMYKcmyk(0%, 4.2%, 79.7%, 43.9%)
CIE-LABlab(55.91, -10.11, 53.92)
CIE-LCHlch(55.91, 54.86, 100.62°)
OKLaboklab(61.64% -0.0339 0.1173)
OKLCHoklch(61.64% 0.122 106.1)
XYZxyz(20.4960, 23.8204, 4.6803)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F891D #1D238F
analogous
#8F501D #8F891D #5C8F1D
triadic
#8F891D #1D8F89 #891D8F
tetradic
#8F891D #1D8F50 #1D238F #8F1D5C
square
#8F891D #1D8F50 #1D238F #8F1D5C
split-complementary
#8F891D #1D5C8F #501D8F
monochromatic
#292808 #5C5813 #8F891D #C2BA27 #DBD34C

Accessibility & contrast

On white

3.64
#8F891D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8F891D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F891D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F891D#FFFFFF#000000##000000
##8F891D1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958400
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f891d;
/* rgb */ color: rgb(143, 137, 29);
/* oklch */ color: oklch(61.6% 0.122 106.1);
Tailwind
colors: {
  custom: {
    50: '#b3ab63',
    500: '#8f891d',
    950: '#000000',
  },
}
SCSS
$custom: #8f891d;
$custom-light: #b3ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8f891d",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 56.842,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61643,
    "c": 0.12213,
    "h": 106.1
  },
  "luminance": 0.2382
}

Semantic roles & 50–950 ramp

primary
#8F891D
secondary
#4B51BD
accent
#48E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F891D

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

Preview Lab → · Contrast checker → · Palette generator →

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