#8F8533#8F8533

#8F8533 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.103 H 102.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8F8533
RGBrgb(143, 133, 51)
HSLhsl(53, 47%, 38%)
HSVhsv(53, 64%, 56%)
CMYKcmyk(0%, 7%, 64.3%, 43.9%)
CIE-LABlab(54.92, -6.76, 44.22)
CIE-LCHlch(54.92, 44.74, 98.69°)
OKLaboklab(60.91% -0.0221 0.1008)
OKLCHoklch(60.91% 0.103 102.4)
XYZxyz(20.3135, 22.8545, 6.4727)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8533 #333D8F
analogous
#8F5733 #8F8533 #6B8F33
triadic
#8F8533 #338F85 #85338F
tetradic
#8F8533 #338F57 #333D8F #8F336B
square
#8F8533 #338F57 #333D8F #8F336B
split-complementary
#8F8533 #336B8F #57338F
monochromatic
#353113 #625B23 #8F8533 #BCAF43 #CCC270

Accessibility & contrast

On white

3.77
#8F8533 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8F8533 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8533
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8533#FFFFFF#000000##000000
##8F85331.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918129
Deuteranopia (green-blind)
#948538
Tritanopia (blue-blind)
#9A7C74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f8533;
/* rgb */ color: rgb(143, 133, 51);
/* oklch */ color: oklch(60.9% 0.103 102.4);
Tailwind
colors: {
  custom: {
    50: '#b2a86f',
    500: '#8f8533',
    950: '#000000',
  },
}
SCSS
$custom: #8f8533;
$custom-light: #b2a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8533",
  "rgb": {
    "r": 143,
    "g": 133,
    "b": 51
  },
  "hsl": {
    "h": 53.478,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.10321,
    "h": 102.4
  },
  "luminance": 0.22854
}

Semantic roles & 50–950 ramp

primary
#8F8533
secondary
#6A72B4
accent
#5FD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8533

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

Preview Lab → · Contrast checker → · Palette generator →

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