#8F8532#8F8532

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

Color values

HEX#8F8532
RGBrgb(143, 133, 50)
HSLhsl(54, 48%, 38%)
HSVhsv(54, 65%, 56%)
CMYKcmyk(0%, 7%, 65%, 43.9%)
CIE-LABlab(54.91, -6.83, 44.67)
CIE-LCHlch(54.91, 45.19, 98.69°)
OKLaboklab(60.9% -0.0224 0.1016)
OKLCHoklch(60.9% 0.104 102.4)
XYZxyz(20.2917, 22.8458, 6.3578)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8532 #323C8F
analogous
#8F5632 #8F8532 #6B8F32
triadic
#8F8532 #328F85 #85328F
tetradic
#8F8532 #328F56 #323C8F #8F326B
square
#8F8532 #328F56 #323C8F #8F326B
split-complementary
#8F8532 #326B8F #56328F
monochromatic
#343112 #625B22 #8F8532 #BCAF42 #CDC36F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8532#FFFFFF#000000##000000
##8F85321.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)
#918128
Deuteranopia (green-blind)
#948537
Tritanopia (blue-blind)
#9A7C74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f8532;
/* rgb */ color: rgb(143, 133, 50);
/* oklch */ color: oklch(60.9% 0.104 102.4);
Tailwind
colors: {
  custom: {
    50: '#b2a86e',
    500: '#8f8532',
    950: '#000000',
  },
}
SCSS
$custom: #8f8532;
$custom-light: #b2a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8532",
  "rgb": {
    "r": 143,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 53.548,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.10405,
    "h": 102.4
  },
  "luminance": 0.22845
}

Semantic roles & 50–950 ramp

primary
#8F8532
secondary
#6871B4
accent
#5FD850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8532

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

Preview Lab → · Contrast checker → · Palette generator →

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