#8F8920#8F8920

#8F8920 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.121 H 106.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8F8920
RGBrgb(143, 137, 32)
HSLhsl(57, 63%, 34%)
HSVhsv(57, 78%, 56%)
CMYKcmyk(0%, 4.2%, 77.6%, 43.9%)
CIE-LABlab(55.92, -9.99, 52.94)
CIE-LCHlch(55.92, 53.87, 100.69°)
OKLaboklab(61.66% -0.0333 0.1158)
OKLCHoklch(61.66% 0.121 106)
XYZxyz(20.5349, 23.8360, 4.8853)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8920 #20268F
analogous
#8F5220 #8F8920 #5E8F20
triadic
#8F8920 #208F89 #89208F
tetradic
#8F8920 #208F52 #20268F #8F205E
square
#8F8920 #208F52 #20268F #8F205E
split-complementary
#8F8920 #205E8F #52208F
monochromatic
#2B290A #5D5915 #8F8920 #C1B92B #D8D151

Accessibility & contrast

On white

3.64
#8F8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8F8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8920
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8920#FFFFFF#000000##000000
##8F89201.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958407
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f8920;
/* rgb */ color: rgb(143, 137, 32);
/* oklch */ color: oklch(61.7% 0.121 106.0);
Tailwind
colors: {
  custom: {
    50: '#b3ab65',
    500: '#8f8920',
    950: '#000000',
  },
}
SCSS
$custom: #8f8920;
$custom-light: #b3ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8920",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 56.757,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61661,
    "c": 0.12052,
    "h": 106
  },
  "luminance": 0.23835
}

Semantic roles & 50–950 ramp

primary
#8F8920
secondary
#4F55BB
accent
#4AE641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8920

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

Preview Lab → · Contrast checker → · Palette generator →

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