#8F8239#8F8239

#8F8239 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.095 H 99.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8F8239
RGBrgb(143, 130, 57)
HSLhsl(51, 43%, 39%)
HSVhsv(51, 60%, 56%)
CMYKcmyk(0%, 9.1%, 60.1%, 43.9%)
CIE-LABlab(54.13, -4.66, 40.50)
CIE-LCHlch(54.13, 40.76, 96.57°)
OKLaboklab(60.3% -0.0154 0.0937)
OKLCHoklch(60.3% 0.095 99.3)
XYZxyz(20.0496, 22.1011, 7.0799)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8239 #39468F
analogous
#8F5739 #8F8239 #718F39
triadic
#8F8239 #398F82 #82398F
tetradic
#8F8239 #398F57 #39468F #8F3971
square
#8F8239 #398F57 #39468F #8F3971
split-complementary
#8F8239 #39718F #57398F
monochromatic
#373216 #635A28 #8F8239 #B8A84D #CABD79

Accessibility & contrast

On white

3.87
#8F8239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8F8239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8239
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8239#FFFFFF#000000##000000
##8F82391.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F31
Deuteranopia (green-blind)
#91843D
Tritanopia (blue-blind)
#997972
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f8239;
/* rgb */ color: rgb(143, 130, 57);
/* oklch */ color: oklch(60.3% 0.095 99.3);
Tailwind
colors: {
  custom: {
    50: '#b2a672',
    500: '#8f8239',
    950: '#000000',
  },
}
SCSS
$custom: #8f8239;
$custom-light: #b2a672;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8239",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 50.93,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60302,
    "c": 0.09498,
    "h": 99.3
  },
  "luminance": 0.221
}

Semantic roles & 50–950 ramp

primary
#8F8239
secondary
#717BB3
accent
#68D355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8F8239

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

Preview Lab → · Contrast checker → · Palette generator →

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