#8F8459#8F8459

#8F8459 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.2% C 0.061 H 95.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8F8459
RGBrgb(143, 132, 89)
HSLhsl(48, 23%, 45%)
HSVhsv(48, 38%, 56%)
CMYKcmyk(0%, 7.7%, 37.8%, 43.9%)
CIE-LABlab(55.14, -2.54, 24.74)
CIE-LCHlch(55.14, 24.87, 95.85°)
OKLaboklab(61.24% -0.0059 0.0612)
OKLCHoklch(61.24% 0.061 95.5)
XYZxyz(21.3825, 23.0641, 12.7747)
Luminance0.2306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8459 #59648F
analogous
#8F6959 #8F8459 #7F8F59
triadic
#8F8459 #598F84 #84598F
tetradic
#8F8459 #598F69 #59648F #8F597F
square
#8F8459 #598F69 #59648F #8F597F
split-complementary
#8F8459 #597F8F #69598F
monochromatic
#443E2A #696142 #8F8459 #ACA279 #C3BC9F

Accessibility & contrast

On white

3.74
#8F8459 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8F8459 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8459
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8459#FFFFFF#000000##000000
##8F84591.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8256
Deuteranopia (green-blind)
#8F865B
Tritanopia (blue-blind)
#977E79
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8459;
/* rgb */ color: rgb(143, 132, 89);
/* oklch */ color: oklch(61.2% 0.061 95.5);
Tailwind
colors: {
  custom: {
    50: '#b1a788',
    500: '#8f8459',
    950: '#000000',
  },
}
SCSS
$custom: #8f8459;
$custom-light: #b1a788;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8459",
  "rgb": {
    "r": 143,
    "g": 132,
    "b": 89
  },
  "hsl": {
    "h": 47.778,
    "s": 23.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6124,
    "c": 0.06147,
    "h": 95.5
  },
  "luminance": 0.23063
}

Semantic roles & 50–950 ramp

primary
#8F8459
secondary
#9399B1
accent
#7AC068
background
#FAFAF8
surface
#F5F4F0
border
#CFCECB
text
#110F0B
muted
#807F7C

Preview Lab

Preview with #8F8459

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

Preview Lab → · Contrast checker → · Palette generator →

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