#8F8729#8F8729

#8F8729 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.3% C 0.113 H 104.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8F8729
RGBrgb(143, 135, 41)
HSLhsl(55, 55%, 36%)
HSVhsv(55, 71%, 56%)
CMYKcmyk(0%, 5.6%, 71.3%, 43.9%)
CIE-LABlab(55.41, -8.47, 49.07)
CIE-LCHlch(55.41, 49.80, 99.79°)
OKLaboklab(61.27% -0.0281 0.1094)
OKLCHoklch(61.27% 0.113 104.4)
XYZxyz(20.3927, 23.3285, 5.5260)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8729 #29318F
analogous
#8F5429 #8F8729 #648F29
triadic
#8F8729 #298F87 #87298F
tetradic
#8F8729 #298F54 #29318F #8F2964
square
#8F8729 #298F54 #29318F #8F2964
split-complementary
#8F8729 #29648F #54298F
monochromatic
#302D0E #5F5A1B #8F8729 #BFB437 #D2C961

Accessibility & contrast

On white

3.71
#8F8729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8F8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8729
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8729#FFFFFF#000000##000000
##8F87291.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#9A7E74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8729;
/* rgb */ color: rgb(143, 135, 41);
/* oklch */ color: oklch(61.3% 0.113 104.4);
Tailwind
colors: {
  custom: {
    50: '#b3a969',
    500: '#8f8729',
    950: '#000000',
  },
}
SCSS
$custom: #8f8729;
$custom-light: #b3a969;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8729",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 55.294,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61269,
    "c": 0.11292,
    "h": 104.4
  },
  "luminance": 0.23328
}

Semantic roles & 50–950 ramp

primary
#8F8729
secondary
#5C64B7
accent
#55DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8729

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

Preview Lab → · Contrast checker → · Palette generator →

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