#8F8322#8F8322

#8F8322 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.114 H 102.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8F8322
RGBrgb(143, 131, 34)
HSLhsl(53, 62%, 35%)
HSVhsv(53, 76%, 56%)
CMYKcmyk(0%, 8.4%, 76.2%, 43.9%)
CIE-LABlab(54.23, -6.63, 50.64)
CIE-LCHlch(54.23, 51.08, 97.46°)
OKLaboklab(60.31% -0.0237 0.1113)
OKLCHoklch(60.31% 0.114 102)
XYZxyz(19.7336, 22.1886, 4.7564)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8322 #222E8F
analogous
#8F4C22 #8F8322 #658F22
triadic
#8F8322 #228F83 #83228F
tetradic
#8F8322 #228F4C #222E8F #8F2265
square
#8F8322 #228F4C #222E8F #8F2265
split-complementary
#8F8322 #22658F #4C228F
monochromatic
#2C280A #5E5616 #8F8322 #C0B02E #D7C855

Accessibility & contrast

On white

3.86
#8F8322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8F8322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8322
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8322#FFFFFF#000000##000000
##8F83221.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#9A7970
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f8322;
/* rgb */ color: rgb(143, 131, 34);
/* oklch */ color: oklch(60.3% 0.114 102.0);
Tailwind
colors: {
  custom: {
    50: '#b3a665',
    500: '#8f8322',
    950: '#000000',
  },
}
SCSS
$custom: #8f8322;
$custom-light: #b3a665;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8322",
  "rgb": {
    "r": 143,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 53.394,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.11383,
    "h": 102
  },
  "luminance": 0.22188
}

Semantic roles & 50–950 ramp

primary
#8F8322
secondary
#525EBA
accent
#55E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8322

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

Preview Lab → · Contrast checker → · Palette generator →

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