#8F8419#8F8419

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

Color values

HEX#8F8419
RGBrgb(143, 132, 25)
HSLhsl(54, 70%, 33%)
HSVhsv(54, 83%, 56%)
CMYKcmyk(0%, 7.7%, 82.5%, 43.9%)
CIE-LABlab(54.46, -7.54, 53.88)
CIE-LCHlch(54.46, 54.41, 97.97°)
OKLaboklab(60.49% -0.0271 0.1165)
OKLCHoklch(60.49% 0.12 103.1)
XYZxyz(19.7554, 22.4132, 4.2051)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8419 #19248F
analogous
#8F4919 #8F8419 #5F8F19
triadic
#8F8419 #198F84 #84198F
tetradic
#8F8419 #198F49 #19248F #8F195F
square
#8F8419 #198F49 #19248F #8F195F
split-complementary
#8F8419 #195F8F #49198F
monochromatic
#272407 #5B5410 #8F8419 #C3B422 #DED044

Accessibility & contrast

On white

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

On black

5.48
#8F8419 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8419
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8419#FFFFFF#000000##000000
##8F84191.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f8419;
/* rgb */ color: rgb(143, 132, 25);
/* oklch */ color: oklch(60.5% 0.120 103.1);
Tailwind
colors: {
  custom: {
    50: '#b4a761',
    500: '#8f8419',
    950: '#000000',
  },
}
SCSS
$custom: #8f8419;
$custom-light: #b4a761;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8419",
  "rgb": {
    "r": 143,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 54.407,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60487,
    "c": 0.11956,
    "h": 103.1
  },
  "luminance": 0.22412
}

Semantic roles & 50–950 ramp

primary
#8F8419
secondary
#4450BF
accent
#4BED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F8419

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

Preview Lab → · Contrast checker → · Palette generator →

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