#8F7E2D#8F7E2D

#8F7E2D is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.102 H 97.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8F7E2D
RGBrgb(143, 126, 45)
HSLhsl(50, 52%, 37%)
HSVhsv(50, 69%, 56%)
CMYKcmyk(0%, 11.9%, 68.5%, 43.9%)
CIE-LABlab(52.90, -3.27, 44.80)
CIE-LCHlch(52.90, 44.92, 94.18°)
OKLaboklab(59.29% -0.0129 0.1011)
OKLCHoklch(59.29% 0.102 97.3)
XYZxyz(19.2631, 20.9517, 5.5116)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E2D #2D3E8F
analogous
#8F4D2D #8F7E2D #6F8F2D
triadic
#8F7E2D #2D8F7E #7E2D8F
tetradic
#8F7E2D #2D8F4D #2D3E8F #8F2D6F
square
#8F7E2D #2D8F4D #2D3E8F #8F2D6F
split-complementary
#8F7E2D #2D6F8F #4D2D8F
monochromatic
#322C10 #60551E #8F7E2D #BEA73C #CFBD67

Accessibility & contrast

On white

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

On black

5.19
#8F7E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E2D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E2D#FFFFFF#000000##000000
##8F7E2D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B23
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#9A756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e2d;
/* rgb */ color: rgb(143, 126, 45);
/* oklch */ color: oklch(59.3% 0.102 97.3);
Tailwind
colors: {
  custom: {
    50: '#b3a36a',
    500: '#8f7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e2d;
$custom-light: #b3a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e2d",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 49.592,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59285,
    "c": 0.10188,
    "h": 97.3
  },
  "luminance": 0.20951
}

Semantic roles & 50–950 ramp

primary
#8F7E2D
secondary
#6270B6
accent
#65DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8F7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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