#8F7D29#8F7D29

#8F7D29 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.104 H 96.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8F7D29
RGBrgb(143, 125, 41)
HSLhsl(49, 55%, 36%)
HSVhsv(49, 71%, 56%)
CMYKcmyk(0%, 12.6%, 71.3%, 43.9%)
CIE-LABlab(52.58, -2.95, 46.24)
CIE-LCHlch(52.58, 46.33, 93.65°)
OKLaboklab(59.03% -0.0124 0.1034)
OKLCHoklch(59.03% 0.104 96.9)
XYZxyz(19.0625, 20.6679, 5.0826)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7D29 #293B8F
analogous
#8F4A29 #8F7D29 #6E8F29
triadic
#8F7D29 #298F7D #7D298F
tetradic
#8F7D29 #298F4A #293B8F #8F296E
square
#8F7D29 #298F4A #293B8F #8F296E
split-complementary
#8F7D29 #296E8F #4A298F
monochromatic
#302A0E #5F531B #8F7D29 #BFA737 #D2BE61

Accessibility & contrast

On white

4.09
#8F7D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8F7D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7D29
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7D29#FFFFFF#000000##000000
##8F7D291.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1D
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#9A736C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f7d29;
/* rgb */ color: rgb(143, 125, 41);
/* oklch */ color: oklch(59.0% 0.104 96.9);
Tailwind
colors: {
  custom: {
    50: '#b3a268',
    500: '#8f7d29',
    950: '#000000',
  },
}
SCSS
$custom: #8f7d29;
$custom-light: #b3a268;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7d29",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 49.412,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59027,
    "c": 0.10412,
    "h": 96.9
  },
  "luminance": 0.20667
}

Semantic roles & 50–950 ramp

primary
#8F7D29
secondary
#5C6CB7
accent
#63DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8F7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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