#8F8223#8F8223

#8F8223 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.1% C 0.112 H 101.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8F8223
RGBrgb(143, 130, 35)
HSLhsl(53, 61%, 35%)
HSVhsv(53, 76%, 56%)
CMYKcmyk(0%, 9.1%, 75.5%, 43.9%)
CIE-LABlab(53.95, -6.03, 50.00)
CIE-LCHlch(53.95, 50.37, 96.88°)
OKLaboklab(60.1% -0.0219 0.1102)
OKLCHoklch(60.1% 0.112 101.2)
XYZxyz(19.6146, 21.9271, 4.7890)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8223 #23308F
analogous
#8F4C23 #8F8223 #668F23
triadic
#8F8223 #238F82 #82238F
tetradic
#8F8223 #238F4C #23308F #8F2366
square
#8F8223 #238F4C #23308F #8F2366
split-complementary
#8F8223 #23668F #4C238F
monochromatic
#2D290B #5E5517 #8F8223 #C0AF2F #D6C657

Accessibility & contrast

On white

3.90
#8F8223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8F8223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8223
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8223#FFFFFF#000000##000000
##8F82231.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E12
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#9A7870
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f8223;
/* rgb */ color: rgb(143, 130, 35);
/* oklch */ color: oklch(60.1% 0.112 101.2);
Tailwind
colors: {
  custom: {
    50: '#b3a665',
    500: '#8f8223',
    950: '#000000',
  },
}
SCSS
$custom: #8f8223;
$custom-light: #b3a665;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8223",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 52.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60096,
    "c": 0.11233,
    "h": 101.2
  },
  "luminance": 0.21926
}

Semantic roles & 50–950 ramp

primary
#8F8223
secondary
#5460BA
accent
#57E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8223

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

Preview Lab → · Contrast checker → · Palette generator →

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