#8F8233#8F8233

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

Color values

HEX#8F8233
RGBrgb(143, 130, 51)
HSLhsl(52, 47%, 38%)
HSVhsv(52, 64%, 56%)
CMYKcmyk(0%, 9.1%, 64.3%, 43.9%)
CIE-LABlab(54.07, -5.10, 43.31)
CIE-LCHlch(54.07, 43.61, 96.72°)
OKLaboklab(60.24% -0.0174 0.0989)
OKLCHoklch(60.24% 0.1 100)
XYZxyz(19.9087, 22.0448, 6.3377)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8233 #33408F
analogous
#8F5433 #8F8233 #6E8F33
triadic
#8F8233 #338F82 #82338F
tetradic
#8F8233 #338F54 #33408F #8F336E
square
#8F8233 #338F54 #33408F #8F336E
split-complementary
#8F8233 #336E8F #54338F
monochromatic
#353013 #625923 #8F8233 #BCAB43 #CCBF70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8233#FFFFFF#000000##000000
##8F82331.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)
#8E7E2A
Deuteranopia (green-blind)
#928337
Tritanopia (blue-blind)
#9A7971
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f8233;
/* rgb */ color: rgb(143, 130, 51);
/* oklch */ color: oklch(60.2% 0.100 100.0);
Tailwind
colors: {
  custom: {
    50: '#b2a66e',
    500: '#8f8233',
    950: '#000000',
  },
}
SCSS
$custom: #8f8233;
$custom-light: #b2a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8233",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 51.522,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60235,
    "c": 0.10039,
    "h": 100
  },
  "luminance": 0.22044
}

Semantic roles & 50–950 ramp

primary
#8F8233
secondary
#6A74B4
accent
#64D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8233

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

Preview Lab → · Contrast checker → · Palette generator →

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