#8F8A20#8F8A20

#8F8A20 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.121 H 106.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8F8A20
RGBrgb(143, 138, 32)
HSLhsl(57, 63%, 34%)
HSVhsv(57, 78%, 56%)
CMYKcmyk(0%, 3.5%, 77.6%, 43.9%)
CIE-LABlab(56.21, -10.53, 53.20)
CIE-LCHlch(56.21, 54.23, 101.20°)
OKLaboklab(61.89% -0.0348 0.1164)
OKLCHoklch(61.89% 0.121 106.7)
XYZxyz(20.6777, 24.1216, 4.9330)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A20 #20258F
analogous
#8F5320 #8F8A20 #5D8F20
triadic
#8F8A20 #208F8A #8A208F
tetradic
#8F8A20 #208F53 #20258F #8F205D
square
#8F8A20 #208F53 #20258F #8F205D
split-complementary
#8F8A20 #205D8F #53208F
monochromatic
#2B290A #5D5A15 #8F8A20 #C1BA2B #D8D251

Accessibility & contrast

On white

3.61
#8F8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8F8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A20
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A20#FFFFFF#000000##000000
##8F8A201.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968506
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a20;
/* rgb */ color: rgb(143, 138, 32);
/* oklch */ color: oklch(61.9% 0.121 106.7);
Tailwind
colors: {
  custom: {
    50: '#b3ab65',
    500: '#8f8a20',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a20;
$custom-light: #b3ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a20",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 57.297,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.12148,
    "h": 106.7
  },
  "luminance": 0.24121
}

Semantic roles & 50–950 ramp

primary
#8F8A20
secondary
#4F54BB
accent
#49E641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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