#8F8830#8F8830

#8F8830 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.109 H 104.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8F8830
RGBrgb(143, 136, 48)
HSLhsl(56, 50%, 37%)
HSVhsv(56, 66%, 56%)
CMYKcmyk(0%, 4.9%, 66.4%, 43.9%)
CIE-LABlab(55.75, -8.60, 46.45)
CIE-LCHlch(55.75, 47.24, 100.49°)
OKLaboklab(61.56% -0.0277 0.1051)
OKLCHoklch(61.56% 0.109 104.8)
XYZxyz(20.6661, 23.6621, 6.2744)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8830 #30378F
analogous
#8F5930 #8F8830 #668F30
triadic
#8F8830 #308F88 #88308F
tetradic
#8F8830 #308F59 #30378F #8F3066
square
#8F8830 #308F59 #30378F #8F3066
split-complementary
#8F8830 #30668F #59308F
monochromatic
#333111 #615C21 #8F8830 #BDB43F #CEC66C

Accessibility & contrast

On white

3.66
#8F8830 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8F8830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8830
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8830#FFFFFF#000000##000000
##8F88301.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948325
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#997F76
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f8830;
/* rgb */ color: rgb(143, 136, 48);
/* oklch */ color: oklch(61.6% 0.109 104.8);
Tailwind
colors: {
  custom: {
    50: '#b3aa6d',
    500: '#8f8830',
    950: '#000000',
  },
}
SCSS
$custom: #8f8830;
$custom-light: #b3aa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8830",
  "rgb": {
    "r": 143,
    "g": 136,
    "b": 48
  },
  "hsl": {
    "h": 55.579,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.10864,
    "h": 104.8
  },
  "luminance": 0.23661
}

Semantic roles & 50–950 ramp

primary
#8F8830
secondary
#666CB5
accent
#59D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8830

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

Preview Lab → · Contrast checker → · Palette generator →

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