#8C701A#8C701A

#8C701A is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.7% C 0.105 H 89.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8C701A
RGBrgb(140, 112, 26)
HSLhsl(45, 69%, 33%)
HSVhsv(45, 81%, 55%)
CMYKcmyk(0%, 20%, 81.4%, 45.1%)
CIE-LABlab(48.56, 2.31, 48.21)
CIE-LCHlch(48.56, 48.26, 87.26°)
OKLaboklab(55.75% 0.001 0.1046)
OKLCHoklch(55.75% 0.105 89.4)
XYZxyz(16.7969, 17.2395, 3.4199)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C701A #1A368C
analogous
#8C371A #8C701A #6F8C1A
triadic
#8C701A #1A8C70 #701A8C
tetradic
#8C701A #1A8C37 #1A368C #8C1A6F
square
#8C701A #1A8C37 #1A368C #8C1A6F
split-complementary
#8C701A #1A6F8C #371A8C
monochromatic
#251D07 #584710 #8C701A #C09924 #DCB744

Accessibility & contrast

On white

4.72
#8C701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8C701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C701A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C701A#FFFFFF#000000##FFFFFF
##8C701A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#986660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8c701a;
/* rgb */ color: rgb(140, 112, 26);
/* oklch */ color: oklch(55.7% 0.105 89.4);
Tailwind
colors: {
  custom: {
    50: '#b2985f',
    500: '#8c701a',
    950: '#000000',
  },
}
SCSS
$custom: #8c701a;
$custom-light: #b2985f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c701a",
  "rgb": {
    "r": 140,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 45.263,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55745,
    "c": 0.10458,
    "h": 89.4
  },
  "luminance": 0.17238
}

Semantic roles & 50–950 ramp

primary
#8C701A
secondary
#4462BE
accent
#67EC3C
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #8C701A

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

Preview Lab → · Contrast checker → · Palette generator →

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