#8F7E1D#8F7E1D

#8F7E1D is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.2% C 0.113 H 98.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8F7E1D
RGBrgb(143, 126, 29)
HSLhsl(51, 66%, 34%)
HSVhsv(51, 80%, 56%)
CMYKcmyk(0%, 11.9%, 79.7%, 43.9%)
CIE-LABlab(52.79, -4.08, 51.10)
CIE-LCHlch(52.79, 51.26, 94.57°)
OKLaboklab(59.16% -0.017 0.1113)
OKLCHoklch(59.16% 0.113 98.7)
XYZxyz(19.0113, 20.8510, 4.1854)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E1D #1D2E8F
analogous
#8F451D #8F7E1D #678F1D
triadic
#8F7E1D #1D8F7E #7E1D8F
tetradic
#8F7E1D #1D8F45 #1D2E8F #8F1D67
square
#8F7E1D #1D8F45 #1D2E8F #8F1D67
split-complementary
#8F7E1D #1D678F #451D8F
monochromatic
#292408 #5C5113 #8F7E1D #C2AB27 #DBC54C

Accessibility & contrast

On white

4.06
#8F7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8F7E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E1D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E1D#FFFFFF#000000##000000
##8F7E1D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B06
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#9B746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e1d;
/* rgb */ color: rgb(143, 126, 29);
/* oklch */ color: oklch(59.2% 0.113 98.7);
Tailwind
colors: {
  custom: {
    50: '#b4a362',
    500: '#8f7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e1d;
$custom-light: #b4a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e1d",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 51.053,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59162,
    "c": 0.11257,
    "h": 98.7
  },
  "luminance": 0.2085
}

Semantic roles & 50–950 ramp

primary
#8F7E1D
secondary
#4B5CBD
accent
#58E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #8F7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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