#8C751D#8C751D

#8C751D is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.9% C 0.106 H 93.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8C751D
RGBrgb(140, 117, 29)
HSLhsl(48, 66%, 33%)
HSVhsv(48, 79%, 55%)
CMYKcmyk(0%, 16.4%, 79.3%, 45.1%)
CIE-LABlab(49.96, -0.42, 48.40)
CIE-LCHlch(49.96, 48.40, 90.50°)
OKLaboklab(56.86% -0.0064 0.1057)
OKLCHoklch(56.86% 0.106 93.5)
XYZxyz(17.3993, 18.3878, 3.7949)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C751D #1D348C
analogous
#8C3E1D #8C751D #6B8C1D
triadic
#8C751D #1D8C75 #751D8C
tetradic
#8C751D #1D8C3E #1D348C #8C1D6B
square
#8C751D #1D8C3E #1D348C #8C1D6B
split-complementary
#8C751D #1D6B8C #3E1D8C
monochromatic
#272008 #594B12 #8C751D #BF9F28 #D9BC4A

Accessibility & contrast

On white

4.49
#8C751D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8C751D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C751D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C751D#FFFFFF#000000##000000
##8C751D1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#986B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8c751d;
/* rgb */ color: rgb(140, 117, 29);
/* oklch */ color: oklch(56.9% 0.106 93.5);
Tailwind
colors: {
  custom: {
    50: '#b19c61',
    500: '#8c751d',
    950: '#000000',
  },
}
SCSS
$custom: #8c751d;
$custom-light: #b19c61;
$custom-dark: #000000;
JSON
{
  "hex": "#8c751d",
  "rgb": {
    "r": 140,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 47.568,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56857,
    "c": 0.10585,
    "h": 93.5
  },
  "luminance": 0.18387
}

Semantic roles & 50–950 ramp

primary
#8C751D
secondary
#4961BC
accent
#62E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8C751D

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

Preview Lab → · Contrast checker → · Palette generator →

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