#8F841C#8F841C

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

Color values

HEX#8F841C
RGBrgb(143, 132, 28)
HSLhsl(54, 67%, 34%)
HSVhsv(54, 80%, 56%)
CMYKcmyk(0%, 7.7%, 80.4%, 43.9%)
CIE-LABlab(54.48, -7.43, 52.96)
CIE-LCHlch(54.48, 53.48, 97.99°)
OKLaboklab(60.5% -0.0265 0.1151)
OKLCHoklch(60.5% 0.118 103)
XYZxyz(19.7895, 22.4269, 4.3848)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F841C #1C278F
analogous
#8F4A1C #8F841C #608F1C
triadic
#8F841C #1C8F84 #841C8F
tetradic
#8F841C #1C8F4A #1C278F #8F1C60
square
#8F841C #1C8F4A #1C278F #8F1C60
split-complementary
#8F841C #1C608F #4A1C8F
monochromatic
#292608 #5C5512 #8F841C #C2B326 #DCCE4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F841C#FFFFFF#000000##000000
##8F841C1.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)
#917F00
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#9A7A71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f841c;
/* rgb */ color: rgb(143, 132, 28);
/* oklch */ color: oklch(60.5% 0.118 103.0);
Tailwind
colors: {
  custom: {
    50: '#b3a762',
    500: '#8f841c',
    950: '#000000',
  },
}
SCSS
$custom: #8f841c;
$custom-light: #b3a762;
$custom-dark: #000000;
JSON
{
  "hex": "#8f841c",
  "rgb": {
    "r": 143,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 54.261,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.11807,
    "h": 103
  },
  "luminance": 0.22426
}

Semantic roles & 50–950 ramp

primary
#8F841C
secondary
#4954BE
accent
#4EEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #8F841C

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

Preview Lab → · Contrast checker → · Palette generator →

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