#8F8F2A#8F8F2A

#8F8F2A is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.120 H 109.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8F8F2A
RGBrgb(143, 143, 42)
HSLhsl(60, 55%, 36%)
HSVhsv(60, 71%, 56%)
CMYKcmyk(0%, 0%, 70.6%, 43.9%)
CIE-LABlab(57.71, -12.72, 50.95)
CIE-LCHlch(57.71, 52.51, 104.02°)
OKLaboklab(63.1% -0.04 0.1135)
OKLCHoklch(63.1% 0.12 109.4)
XYZxyz(21.5688, 25.6524, 6.0053)
Luminance0.2565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8F2A #2A2A8F
analogous
#8F5D2A #8F8F2A #5D8F2A
triadic
#8F8F2A #2A8F8F #8F2A8F
tetradic
#8F8F2A #2A8F5D #2A2A8F #8F2A5D
square
#8F8F2A #2A8F5D #2A2A8F #8F2A5D
split-complementary
#8F8F2A #2A5D8F #5D2A8F
monochromatic
#30300E #60601C #8F8F2A #BEBE38 #D1D162

Accessibility & contrast

On white

3.43
#8F8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#8F8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8F2A
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8F2A#FFFFFF#000000##000000
##8F8F2A1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#99867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f8f2a;
/* rgb */ color: rgb(143, 143, 42);
/* oklch */ color: oklch(63.1% 0.120 109.4);
Tailwind
colors: {
  custom: {
    50: '#b3af6a',
    500: '#8f8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #8f8f2a;
$custom-light: #b3af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8f2a",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 60,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63102,
    "c": 0.12034,
    "h": 109.4
  },
  "luminance": 0.25652
}

Semantic roles & 50–950 ramp

primary
#8F8F2A
secondary
#5E5EB7
accent
#4ADE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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