#8C7E19#8C7E19

#8C7E19 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.115 H 100.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8C7E19
RGBrgb(140, 126, 25)
HSLhsl(53, 70%, 32%)
HSVhsv(53, 82%, 55%)
CMYKcmyk(0%, 10%, 82.1%, 45.1%)
CIE-LABlab(52.47, -5.63, 52.03)
CIE-LCHlch(52.47, 52.34, 96.17°)
OKLaboklab(58.84% -0.0215 0.1126)
OKLCHoklch(58.84% 0.115 100.8)
XYZxyz(18.4525, 20.5682, 3.9176)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C7E19 #19278C
analogous
#8C4519 #8C7E19 #608C19
triadic
#8C7E19 #198C7E #7E198C
tetradic
#8C7E19 #198C45 #19278C #8C1960
square
#8C7E19 #198C45 #19278C #8C1960
split-complementary
#8C7E19 #19608C #45198C
monochromatic
#242106 #584F10 #8C7E19 #C0AD22 #DDCA42

Accessibility & contrast

On white

4.11
#8C7E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8C7E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C7E19
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C7E19#FFFFFF#000000##000000
##8C7E191.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#97746B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8c7e19;
/* rgb */ color: rgb(140, 126, 25);
/* oklch */ color: oklch(58.8% 0.115 100.8);
Tailwind
colors: {
  custom: {
    50: '#b1a360',
    500: '#8c7e19',
    950: '#000000',
  },
}
SCSS
$custom: #8c7e19;
$custom-light: #b1a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8c7e19",
  "rgb": {
    "r": 140,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 52.696,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58838,
    "c": 0.11464,
    "h": 100.8
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#8C7E19
secondary
#4352BE
accent
#51ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #8C7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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