#8F833F#8F833F

#8F833F is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.6% C 0.090 H 99.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8F833F
RGBrgb(143, 131, 63)
HSLhsl(51, 39%, 40%)
HSVhsv(51, 56%, 56%)
CMYKcmyk(0%, 8.4%, 55.9%, 43.9%)
CIE-LABlab(54.48, -4.72, 37.89)
CIE-LCHlch(54.48, 38.19, 97.10°)
OKLaboklab(60.6% -0.0148 0.0889)
OKLCHoklch(60.6% 0.09 99.5)
XYZxyz(20.3419, 22.4319, 7.9599)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F833F #3F4B8F
analogous
#8F5B3F #8F833F #738F3F
triadic
#8F833F #3F8F83 #833F8F
tetradic
#8F833F #3F8F5B #3F4B8F #8F3F73
square
#8F833F #3F8F5B #3F4B8F #8F3F73
split-complementary
#8F833F #3F738F #5B3F8F
monochromatic
#3A351A #655C2C #8F833F #B5A756 #C7BD81

Accessibility & contrast

On white

3.83
#8F833F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8F833F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F833F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F833F#FFFFFF#000000##000000
##8F833F1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8039
Deuteranopia (green-blind)
#918442
Tritanopia (blue-blind)
#997B74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f833f;
/* rgb */ color: rgb(143, 131, 63);
/* oklch */ color: oklch(60.6% 0.090 99.5);
Tailwind
colors: {
  custom: {
    50: '#b2a676',
    500: '#8f833f',
    950: '#000000',
  },
}
SCSS
$custom: #8f833f;
$custom-light: #b2a676;
$custom-dark: #000000;
JSON
{
  "hex": "#8f833f",
  "rgb": {
    "r": 143,
    "g": 131,
    "b": 63
  },
  "hsl": {
    "h": 51,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60599,
    "c": 0.09008,
    "h": 99.5
  },
  "luminance": 0.22431
}

Semantic roles & 50–950 ramp

primary
#8F833F
secondary
#7881B2
accent
#6BCF59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8F833F

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

Preview Lab → · Contrast checker → · Palette generator →

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