#8F8A19#8F8A19

#8F8A19 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.125 H 106.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8F8A19
RGBrgb(143, 138, 25)
HSLhsl(57, 70%, 33%)
HSVhsv(57, 83%, 56%)
CMYKcmyk(0%, 3.5%, 82.5%, 43.9%)
CIE-LABlab(56.18, -10.80, 55.37)
CIE-LCHlch(56.18, 56.42, 101.03°)
OKLaboklab(61.85% -0.0362 0.1197)
OKLCHoklch(61.85% 0.125 106.8)
XYZxyz(20.5925, 24.0875, 4.4842)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A19 #191E8F
analogous
#8F4F19 #8F8A19 #598F19
triadic
#8F8A19 #198F8A #8A198F
tetradic
#8F8A19 #198F4F #191E8F #8F1959
square
#8F8A19 #198F4F #191E8F #8F1959
split-complementary
#8F8A19 #19598F #4F198F
monochromatic
#272507 #5B5810 #8F8A19 #C3BC22 #DED844

Accessibility & contrast

On white

3.61
#8F8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8F8A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A19
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A19#FFFFFF#000000##000000
##8F8A191.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#998923
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a19;
/* rgb */ color: rgb(143, 138, 25);
/* oklch */ color: oklch(61.9% 0.125 106.8);
Tailwind
colors: {
  custom: {
    50: '#b4ab62',
    500: '#8f8a19',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a19;
$custom-light: #b4ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a19",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 57.458,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61851,
    "c": 0.12501,
    "h": 106.8
  },
  "luminance": 0.24087
}

Semantic roles & 50–950 ramp

primary
#8F8A19
secondary
#444ABF
accent
#42ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #8F8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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