#8F8D22#8F8D22

#8F8D22 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.123 H 108.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8F8D22
RGBrgb(143, 141, 34)
HSLhsl(59, 62%, 35%)
HSVhsv(59, 76%, 56%)
CMYKcmyk(0%, 1.4%, 76.2%, 43.9%)
CIE-LABlab(57.08, -12.05, 53.32)
CIE-LCHlch(57.08, 54.66, 102.74°)
OKLaboklab(62.59% -0.0389 0.117)
OKLCHoklch(62.59% 0.123 108.4)
XYZxyz(21.1421, 25.0056, 5.2259)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D22 #22248F
analogous
#8F5722 #8F8D22 #5B8F22
triadic
#8F8D22 #228F8D #8D228F
tetradic
#8F8D22 #228F57 #22248F #8F225B
square
#8F8D22 #228F57 #22248F #8F225B
split-complementary
#8F8D22 #225B8F #57228F
monochromatic
#2C2B0A #5E5C16 #8F8D22 #C0BE2E #D7D455

Accessibility & contrast

On white

3.50
#8F8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8F8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8D22
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8D22#FFFFFF#000000##000000
##8F8D221.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#9A8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d22;
/* rgb */ color: rgb(143, 141, 34);
/* oklch */ color: oklch(62.6% 0.123 108.4);
Tailwind
colors: {
  custom: {
    50: '#b3ae66',
    500: '#8f8d22',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d22;
$custom-light: #b3ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d22",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 58.899,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62587,
    "c": 0.12332,
    "h": 108.4
  },
  "luminance": 0.25005
}

Semantic roles & 50–950 ramp

primary
#8F8D22
secondary
#5254BA
accent
#46E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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