#8C751F#8C751F

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

Color values

HEX#8C751F
RGBrgb(140, 117, 31)
HSLhsl(47, 64%, 34%)
HSVhsv(47, 78%, 55%)
CMYKcmyk(0%, 16.4%, 77.9%, 45.1%)
CIE-LABlab(49.98, -0.34, 47.66)
CIE-LCHlch(49.98, 47.66, 90.40°)
OKLaboklab(56.87% -0.006 0.1045)
OKLCHoklch(56.87% 0.105 93.3)
XYZxyz(17.4248, 18.3980, 3.9294)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C751F #1F368C
analogous
#8C3E1F #8C751F #6C8C1F
triadic
#8C751F #1F8C75 #751F8C
tetradic
#8C751F #1F8C3E #1F368C #8C1F6C
square
#8C751F #1F8C3E #1F368C #8C1F6C
split-complementary
#8C751F #1F6C8C #3E1F8C
monochromatic
#282109 #5A4B14 #8C751F #BE9F2A #D8BB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C751F#FFFFFF#000000##000000
##8C751F1.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)
#82730F
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#986B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8c751f;
/* rgb */ color: rgb(140, 117, 31);
/* oklch */ color: oklch(56.9% 0.105 93.3);
Tailwind
colors: {
  custom: {
    50: '#b19c62',
    500: '#8c751f',
    950: '#000000',
  },
}
SCSS
$custom: #8c751f;
$custom-light: #b19c62;
$custom-dark: #000000;
JSON
{
  "hex": "#8c751f",
  "rgb": {
    "r": 140,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 47.339,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.10467,
    "h": 93.3
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#8C751F
secondary
#4C64BB
accent
#64E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8C751F

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

Preview Lab → · Contrast checker → · Palette generator →

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