#8F841E#8F841E

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

Color values

HEX#8F841E
RGBrgb(143, 132, 30)
HSLhsl(54, 65%, 34%)
HSVhsv(54, 79%, 56%)
CMYKcmyk(0%, 7.7%, 79%, 43.9%)
CIE-LABlab(54.49, -7.35, 52.30)
CIE-LCHlch(54.49, 52.82, 98.00°)
OKLaboklab(60.51% -0.0261 0.1141)
OKLCHoklch(60.51% 0.117 102.9)
XYZxyz(19.8142, 22.4368, 4.5151)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F841E #1E298F
analogous
#8F4C1E #8F841E #628F1E
triadic
#8F841E #1E8F84 #841E8F
tetradic
#8F841E #1E8F4C #1E298F #8F1E62
square
#8F841E #1E8F4C #1E298F #8F1E62
split-complementary
#8F841E #1E628F #4C1E8F
monochromatic
#2A2709 #5C5513 #8F841E #C2B329 #DACC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F841E#FFFFFF#000000##000000
##8F841E1.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)
#918005
Deuteranopia (green-blind)
#948526
Tritanopia (blue-blind)
#9A7A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f841e;
/* rgb */ color: rgb(143, 132, 30);
/* oklch */ color: oklch(60.5% 0.117 102.9);
Tailwind
colors: {
  custom: {
    50: '#b3a763',
    500: '#8f841e',
    950: '#000000',
  },
}
SCSS
$custom: #8f841e;
$custom-light: #b3a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8f841e",
  "rgb": {
    "r": 143,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 54.159,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60514,
    "c": 0.11702,
    "h": 102.9
  },
  "luminance": 0.22436
}

Semantic roles & 50–950 ramp

primary
#8F841E
secondary
#4C57BC
accent
#50E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F841E

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

Preview Lab → · Contrast checker → · Palette generator →

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