#8F8319#8F8319

#8F8319 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.119 H 102.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8F8319
RGBrgb(143, 131, 25)
HSLhsl(54, 70%, 33%)
HSVhsv(54, 83%, 56%)
CMYKcmyk(0%, 8.4%, 82.5%, 43.9%)
CIE-LABlab(54.18, -6.99, 53.64)
CIE-LCHlch(54.18, 54.09, 97.43°)
OKLaboklab(60.26% -0.0255 0.1159)
OKLCHoklch(60.26% 0.119 102.4)
XYZxyz(19.6204, 22.1433, 4.1601)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8319 #19258F
analogous
#8F4819 #8F8319 #608F19
triadic
#8F8319 #198F83 #83198F
tetradic
#8F8319 #198F48 #19258F #8F1960
square
#8F8319 #198F48 #19258F #8F1960
split-complementary
#8F8319 #19608F #48198F
monochromatic
#272407 #5B5310 #8F8319 #C3B322 #DECF44

Accessibility & contrast

On white

3.87
#8F8319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8F8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8319
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8319#FFFFFF#000000##000000
##8F83191.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#948422
Tritanopia (blue-blind)
#9B7970
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f8319;
/* rgb */ color: rgb(143, 131, 25);
/* oklch */ color: oklch(60.3% 0.119 102.4);
Tailwind
colors: {
  custom: {
    50: '#b4a661',
    500: '#8f8319',
    950: '#000000',
  },
}
SCSS
$custom: #8f8319;
$custom-light: #b4a661;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8319",
  "rgb": {
    "r": 143,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 53.898,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.11869,
    "h": 102.4
  },
  "luminance": 0.22142
}

Semantic roles & 50–950 ramp

primary
#8F8319
secondary
#4451BF
accent
#4DED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F8319

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

Preview Lab → · Contrast checker → · Palette generator →

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