#8F7E29#8F7E29

#8F7E29 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.105 H 97.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8F7E29
RGBrgb(143, 126, 41)
HSLhsl(50, 55%, 36%)
HSVhsv(50, 71%, 56%)
CMYKcmyk(0%, 11.9%, 71.3%, 43.9%)
CIE-LABlab(52.86, -3.51, 46.52)
CIE-LCHlch(52.86, 46.65, 94.31°)
OKLaboklab(59.25% -0.014 0.104)
OKLCHoklch(59.25% 0.105 97.7)
XYZxyz(19.1897, 20.9224, 5.1250)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E29 #293A8F
analogous
#8F4B29 #8F7E29 #6D8F29
triadic
#8F7E29 #298F7E #7E298F
tetradic
#8F7E29 #298F4B #293A8F #8F296D
square
#8F7E29 #298F4B #293A8F #8F296D
split-complementary
#8F7E29 #296D8F #4B298F
monochromatic
#302A0E #5F541B #8F7E29 #BFA837 #D2BF61

Accessibility & contrast

On white

4.05
#8F7E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8F7E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E29
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E29#FFFFFF#000000##000000
##8F7E291.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#8F812E
Tritanopia (blue-blind)
#9A746D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e29;
/* rgb */ color: rgb(143, 126, 41);
/* oklch */ color: oklch(59.2% 0.105 97.7);
Tailwind
colors: {
  custom: {
    50: '#b3a368',
    500: '#8f7e29',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e29;
$custom-light: #b3a368;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e29",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 50,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.10491,
    "h": 97.7
  },
  "luminance": 0.20921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F7E29

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

Preview Lab → · Contrast checker → · Palette generator →

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