#8C751C#8C751C

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

Color values

HEX#8C751C
RGBrgb(140, 117, 28)
HSLhsl(48, 67%, 33%)
HSVhsv(48, 80%, 55%)
CMYKcmyk(0%, 16.4%, 80%, 45.1%)
CIE-LABlab(49.96, -0.46, 48.76)
CIE-LCHlch(49.96, 48.76, 90.54°)
OKLaboklab(56.85% -0.0067 0.1062)
OKLCHoklch(56.85% 0.106 93.6)
XYZxyz(17.3871, 18.3829, 3.7308)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C751C #1C338C
analogous
#8C3D1C #8C751C #6B8C1C
triadic
#8C751C #1C8C75 #751C8C
tetradic
#8C751C #1C8C3D #1C338C #8C1C6B
square
#8C751C #1C8C3D #1C338C #8C1C6B
split-complementary
#8C751C #1C6B8C #3D1C8C
monochromatic
#262008 #594A12 #8C751C #BFA026 #DABC48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C751C#FFFFFF#000000##000000
##8C751C1.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)
#827309
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#986B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8c751c;
/* rgb */ color: rgb(140, 117, 28);
/* oklch */ color: oklch(56.9% 0.106 93.6);
Tailwind
colors: {
  custom: {
    50: '#b19c60',
    500: '#8c751c',
    950: '#000000',
  },
}
SCSS
$custom: #8c751c;
$custom-light: #b19c60;
$custom-dark: #000000;
JSON
{
  "hex": "#8c751c",
  "rgb": {
    "r": 140,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 47.679,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.10641,
    "h": 93.6
  },
  "luminance": 0.18382
}

Semantic roles & 50–950 ramp

primary
#8C751C
secondary
#485FBC
accent
#61EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8C751C

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

Preview Lab → · Contrast checker → · Palette generator →

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