#8F8259#8F8259

#8F8259 is a mid, muted yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.060 H 92.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8F8259
RGBrgb(143, 130, 89)
HSLhsl(46, 23%, 45%)
HSVhsv(46, 38%, 56%)
CMYKcmyk(0%, 9.1%, 37.8%, 43.9%)
CIE-LABlab(54.58, -1.41, 24.01)
CIE-LCHlch(54.58, 24.05, 93.37°)
OKLaboklab(60.8% -0.0026 0.0595)
OKLCHoklch(60.8% 0.06 92.6)
XYZxyz(21.1139, 22.5269, 12.6852)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8259 #59668F
analogous
#8F6759 #8F8259 #818F59
triadic
#8F8259 #598F82 #82598F
tetradic
#8F8259 #598F67 #59668F #8F5981
square
#8F8259 #598F67 #59668F #8F5981
split-complementary
#8F8259 #59818F #67598F
monochromatic
#443D2A #696042 #8F8259 #ACA079 #C3BB9F

Accessibility & contrast

On white

3.81
#8F8259 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8F8259 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8259
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8259#FFFFFF#000000##000000
##8F82591.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8056
Deuteranopia (green-blind)
#8E845A
Tritanopia (blue-blind)
#977C77
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f8259;
/* rgb */ color: rgb(143, 130, 89);
/* oklch */ color: oklch(60.8% 0.060 92.6);
Tailwind
colors: {
  custom: {
    50: '#b1a688',
    500: '#8f8259',
    950: '#000000',
  },
}
SCSS
$custom: #8f8259;
$custom-light: #b1a688;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8259",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 89
  },
  "hsl": {
    "h": 45.556,
    "s": 23.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60801,
    "c": 0.05955,
    "h": 92.6
  },
  "luminance": 0.22526
}

Semantic roles & 50–950 ramp

primary
#8F8259
secondary
#939AB1
accent
#7DC068
background
#FAFAF8
surface
#F5F4F0
border
#CFCECB
text
#110F0B
muted
#807F7C

Preview Lab

Preview with #8F8259

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

Preview Lab → · Contrast checker → · Palette generator →

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