#8F8A1A#8F8A1A

#8F8A1A 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#8F8A1A
RGBrgb(143, 138, 26)
HSLhsl(57, 69%, 33%)
HSVhsv(57, 82%, 56%)
CMYKcmyk(0%, 3.5%, 81.8%, 43.9%)
CIE-LABlab(56.18, -10.76, 55.09)
CIE-LCHlch(56.18, 56.13, 101.06°)
OKLaboklab(61.86% -0.036 0.1192)
OKLCHoklch(61.86% 0.125 106.8)
XYZxyz(20.6035, 24.0919, 4.5420)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A1A #1A1F8F
analogous
#8F4F1A #8F8A1A #598F1A
triadic
#8F8A1A #1A8F8A #8A1A8F
tetradic
#8F8A1A #1A8F4F #1A1F8F #8F1A59
square
#8F8A1A #1A8F4F #1A1F8F #8F1A59
split-complementary
#8F8A1A #1A598F #4F1A8F
monochromatic
#272607 #5B5811 #8F8A1A #C3BC23 #DDD746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8A1A#FFFFFF#000000##000000
##8F8A1A1.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)
#998924
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a1a;
/* rgb */ color: rgb(143, 138, 26);
/* oklch */ color: oklch(61.9% 0.125 106.8);
Tailwind
colors: {
  custom: {
    50: '#b3ab62',
    500: '#8f8a1a',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a1a;
$custom-light: #b3ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a1a",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 57.436,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.12456,
    "h": 106.8
  },
  "luminance": 0.24091
}

Semantic roles & 50–950 ramp

primary
#8F8A1A
secondary
#464BBF
accent
#43EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #8F8A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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