#8F8F26#8F8F26

#8F8F26 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.123 H 109.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8F8F26
RGBrgb(143, 143, 38)
HSLhsl(60, 58%, 35%)
HSVhsv(60, 73%, 56%)
CMYKcmyk(0%, 0%, 73.4%, 43.9%)
CIE-LABlab(57.68, -12.93, 52.45)
CIE-LCHlch(57.68, 54.02, 103.85°)
OKLaboklab(63.07% -0.041 0.1159)
OKLCHoklch(63.07% 0.123 109.5)
XYZxyz(21.5008, 25.6251, 5.6469)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8F26 #26268F
analogous
#8F5A26 #8F8F26 #5A8F26
triadic
#8F8F26 #268F8F #8F268F
tetradic
#8F8F26 #268F5A #26268F #8F265A
square
#8F8F26 #268F5A #26268F #8F265A
split-complementary
#8F8F26 #265A8F #5A268F
monochromatic
#2E2E0C #5F5F19 #8F8F26 #BFBF33 #D4D45C

Accessibility & contrast

On white

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

On black

6.12
#8F8F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8F26
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8F26#FFFFFF#000000##000000
##8F8F261.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f8f26;
/* rgb */ color: rgb(143, 143, 38);
/* oklch */ color: oklch(63.1% 0.123 109.5);
Tailwind
colors: {
  custom: {
    50: '#b3af68',
    500: '#8f8f26',
    950: '#000000',
  },
}
SCSS
$custom: #8f8f26;
$custom-light: #b3af68;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8f26",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63073,
    "c": 0.12297,
    "h": 109.5
  },
  "luminance": 0.25625
}

Semantic roles & 50–950 ramp

primary
#8F8F26
secondary
#5858B9
accent
#47E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8F26

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

Preview Lab → · Contrast checker → · Palette generator →

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