#8F8232#8F8232

#8F8232 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.101 H 100.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8F8232
RGBrgb(143, 130, 50)
HSLhsl(52, 48%, 38%)
HSVhsv(52, 65%, 56%)
CMYKcmyk(0%, 9.1%, 65%, 43.9%)
CIE-LABlab(54.07, -5.17, 43.76)
CIE-LCHlch(54.07, 44.07, 96.74°)
OKLaboklab(60.22% -0.0177 0.0997)
OKLCHoklch(60.22% 0.101 100.1)
XYZxyz(19.8869, 22.0360, 6.2229)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8232 #323F8F
analogous
#8F5332 #8F8232 #6D8F32
triadic
#8F8232 #328F82 #82328F
tetradic
#8F8232 #328F53 #323F8F #8F326D
square
#8F8232 #328F53 #323F8F #8F326D
split-complementary
#8F8232 #326D8F #53328F
monochromatic
#343012 #625922 #8F8232 #BCAB42 #CDBF6F

Accessibility & contrast

On white

3.88
#8F8232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8F8232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8232
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8232#FFFFFF#000000##000000
##8F82321.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E29
Deuteranopia (green-blind)
#928336
Tritanopia (blue-blind)
#9A7971
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f8232;
/* rgb */ color: rgb(143, 130, 50);
/* oklch */ color: oklch(60.2% 0.101 100.1);
Tailwind
colors: {
  custom: {
    50: '#b2a66e',
    500: '#8f8232',
    950: '#000000',
  },
}
SCSS
$custom: #8f8232;
$custom-light: #b2a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8232",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 51.613,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60225,
    "c": 0.10124,
    "h": 100.1
  },
  "luminance": 0.22035
}

Semantic roles & 50–950 ramp

primary
#8F8232
secondary
#6873B4
accent
#63D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8232

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

Preview Lab → · Contrast checker → · Palette generator →

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