#8F8730#8F8730

#8F8730 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.3% C 0.108 H 104.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8F8730
RGBrgb(143, 135, 48)
HSLhsl(55, 50%, 37%)
HSVhsv(55, 66%, 56%)
CMYKcmyk(0%, 5.6%, 66.4%, 43.9%)
CIE-LABlab(55.46, -8.05, 46.15)
CIE-LCHlch(55.46, 46.85, 99.90°)
OKLaboklab(61.33% -0.0261 0.1044)
OKLCHoklch(61.33% 0.108 104.1)
XYZxyz(20.5260, 23.3818, 6.2277)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8730 #30388F
analogous
#8F5730 #8F8730 #688F30
triadic
#8F8730 #308F87 #87308F
tetradic
#8F8730 #308F57 #30388F #8F3068
square
#8F8730 #308F57 #30388F #8F3068
split-complementary
#8F8730 #30688F #57308F
monochromatic
#333011 #615C21 #8F8730 #BDB23F #CEC56C

Accessibility & contrast

On white

3.70
#8F8730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8F8730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8730
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8730#FFFFFF#000000##000000
##8F87301.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938225
Deuteranopia (green-blind)
#958735
Tritanopia (blue-blind)
#9A7E75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8730;
/* rgb */ color: rgb(143, 135, 48);
/* oklch */ color: oklch(61.3% 0.108 104.1);
Tailwind
colors: {
  custom: {
    50: '#b3a96d',
    500: '#8f8730',
    950: '#000000',
  },
}
SCSS
$custom: #8f8730;
$custom-light: #b3a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8730",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 54.947,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6133,
    "c": 0.10764,
    "h": 104.1
  },
  "luminance": 0.23381
}

Semantic roles & 50–950 ramp

primary
#8F8730
secondary
#666DB5
accent
#5AD94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8730

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

Preview Lab → · Contrast checker → · Palette generator →

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