#8F8819#8F8819

#8F8819 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.123 H 105.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8F8819
RGBrgb(143, 136, 25)
HSLhsl(56, 70%, 33%)
HSVhsv(56, 83%, 56%)
CMYKcmyk(0%, 4.9%, 82.5%, 43.9%)
CIE-LABlab(55.60, -9.72, 54.88)
CIE-LCHlch(55.60, 55.73, 100.04°)
OKLaboklab(61.39% -0.0332 0.1186)
OKLCHoklch(61.39% 0.123 105.6)
XYZxyz(20.3082, 23.5189, 4.3894)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8819 #19208F
analogous
#8F4D19 #8F8819 #5B8F19
triadic
#8F8819 #198F88 #88198F
tetradic
#8F8819 #198F4D #19208F #8F195B
square
#8F8819 #198F4D #19208F #8F195B
split-complementary
#8F8819 #195B8F #4D198F
monochromatic
#272507 #5B5610 #8F8819 #C3BA22 #DED544

Accessibility & contrast

On white

3.68
#8F8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8F8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8819
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8819#FFFFFF#000000##000000
##8F88191.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#9A7E74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8819;
/* rgb */ color: rgb(143, 136, 25);
/* oklch */ color: oklch(61.4% 0.123 105.6);
Tailwind
colors: {
  custom: {
    50: '#b4aa62',
    500: '#8f8819',
    950: '#000000',
  },
}
SCSS
$custom: #8f8819;
$custom-light: #b4aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8819",
  "rgb": {
    "r": 143,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 56.441,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61394,
    "c": 0.12314,
    "h": 105.6
  },
  "luminance": 0.23518
}

Semantic roles & 50–950 ramp

primary
#8F8819
secondary
#444CBF
accent
#45ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #8F8819

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

Preview Lab → · Contrast checker → · Palette generator →

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