#8F841D#8F841D

#8F841D is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.118 H 102.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8F841D
RGBrgb(143, 132, 29)
HSLhsl(54, 66%, 34%)
HSVhsv(54, 80%, 56%)
CMYKcmyk(0%, 7.7%, 79.7%, 43.9%)
CIE-LABlab(54.48, -7.39, 52.64)
CIE-LCHlch(54.48, 53.15, 98.00°)
OKLaboklab(60.51% -0.0263 0.1146)
OKLCHoklch(60.51% 0.118 102.9)
XYZxyz(19.8016, 22.4317, 4.4489)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F841D #1D288F
analogous
#8F4B1D #8F841D #618F1D
triadic
#8F841D #1D8F84 #841D8F
tetradic
#8F841D #1D8F4B #1D288F #8F1D61
square
#8F841D #1D8F4B #1D288F #8F1D61
split-complementary
#8F841D #1D618F #4B1D8F
monochromatic
#292608 #5C5513 #8F841D #C2B327 #DBCD4C

Accessibility & contrast

On white

3.83
#8F841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8F841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F841D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F841D#FFFFFF#000000##000000
##8F841D1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918002
Deuteranopia (green-blind)
#948525
Tritanopia (blue-blind)
#9A7A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f841d;
/* rgb */ color: rgb(143, 132, 29);
/* oklch */ color: oklch(60.5% 0.118 102.9);
Tailwind
colors: {
  custom: {
    50: '#b3a763',
    500: '#8f841d',
    950: '#000000',
  },
}
SCSS
$custom: #8f841d;
$custom-light: #b3a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8f841d",
  "rgb": {
    "r": 143,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 54.211,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60508,
    "c": 0.11755,
    "h": 102.9
  },
  "luminance": 0.22431
}

Semantic roles & 50–950 ramp

primary
#8F841D
secondary
#4B56BD
accent
#4FE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #8F841D

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

Preview Lab → · Contrast checker → · Palette generator →

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