#8D751F#8D751F

#8D751F is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 57.0% C 0.105 H 92.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8D751F
RGBrgb(141, 117, 31)
HSLhsl(47, 64%, 34%)
HSVhsv(47, 78%, 55%)
CMYKcmyk(0%, 17%, 78%, 44.7%)
CIE-LABlab(50.08, 0.13, 47.79)
CIE-LCHlch(50.08, 47.79, 89.84°)
OKLaboklab(56.98% -0.0047 0.1047)
OKLCHoklch(56.98% 0.105 92.6)
XYZxyz(17.5941, 18.4853, 3.9374)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D751F #1F378D
analogous
#8D3E1F #8D751F #6E8D1F
triadic
#8D751F #1F8D75 #751F8D
tetradic
#8D751F #1F8D3E #1F378D #8D1F6E
square
#8D751F #1F8D3E #1F378D #8D1F6E
split-complementary
#8D751F #1F6E8D #3E1F8D
monochromatic
#292209 #5B4B14 #8D751F #BF9F2A #D8BA4E

Accessibility & contrast

On white

4.47
#8D751F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8D751F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D751F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D751F#FFFFFF#000000##000000
##8D751F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#996B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d751f;
/* rgb */ color: rgb(141, 117, 31);
/* oklch */ color: oklch(57.0% 0.105 92.6);
Tailwind
colors: {
  custom: {
    50: '#b29c62',
    500: '#8d751f',
    950: '#000000',
  },
}
SCSS
$custom: #8d751f;
$custom-light: #b29c62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d751f",
  "rgb": {
    "r": 141,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 46.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56977,
    "c": 0.10485,
    "h": 92.6
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

primary
#8D751F
secondary
#4D65BB
accent
#65E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D751F

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

Preview Lab → · Contrast checker → · Palette generator →

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