#8F8D20#8F8D20

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

Color values

HEX#8F8D20
RGBrgb(143, 141, 32)
HSLhsl(59, 63%, 34%)
HSVhsv(59, 78%, 56%)
CMYKcmyk(0%, 1.4%, 77.6%, 43.9%)
CIE-LABlab(57.07, -12.14, 53.99)
CIE-LCHlch(57.07, 55.34, 102.67°)
OKLaboklab(62.58% -0.0393 0.1181)
OKLCHoklch(62.58% 0.124 108.4)
XYZxyz(21.1141, 24.9944, 5.0784)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D20 #20228F
analogous
#8F5620 #8F8D20 #5A8F20
triadic
#8F8D20 #208F8D #8D208F
tetradic
#8F8D20 #208F56 #20228F #8F205A
square
#8F8D20 #208F56 #20228F #8F205A
split-complementary
#8F8D20 #205A8F #56208F
monochromatic
#2B2A0A #5D5C15 #8F8D20 #C1BE2B #D8D651

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8D20#FFFFFF#000000##000000
##8F8D201.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)
#998704
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#9A8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d20;
/* rgb */ color: rgb(143, 141, 32);
/* oklch */ color: oklch(62.6% 0.124 108.4);
Tailwind
colors: {
  custom: {
    50: '#b3ae65',
    500: '#8f8d20',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d20;
$custom-light: #b3ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d20",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 58.919,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62575,
    "c": 0.12444,
    "h": 108.4
  },
  "luminance": 0.24994
}

Semantic roles & 50–950 ramp

primary
#8F8D20
secondary
#4F51BB
accent
#44E641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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