#8D7E1C#8D7E1C

#8D7E1C is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.113 H 100.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8D7E1C
RGBrgb(141, 126, 28)
HSLhsl(52, 67%, 33%)
HSVhsv(52, 80%, 55%)
CMYKcmyk(0%, 10.6%, 80.1%, 44.7%)
CIE-LABlab(52.59, -5.05, 51.19)
CIE-LCHlch(52.59, 51.44, 95.63°)
OKLaboklab(58.96% -0.0197 0.1114)
OKLCHoklch(58.96% 0.113 100)
XYZxyz(18.6559, 20.6692, 4.1053)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E1C #1C2B8D
analogous
#8D451C #8D7E1C #648D1C
triadic
#8D7E1C #1C8D7E #7E1C8D
tetradic
#8D7E1C #1C8D45 #1C2B8D #8D1C64
square
#8D7E1C #1C8D45 #1C2B8D #8D1C64
split-complementary
#8D7E1C #1C648D #451C8D
monochromatic
#272308 #5A5012 #8D7E1C #C0AC26 #DBC749

Accessibility & contrast

On white

4.09
#8D7E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8D7E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E1C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E1C#FFFFFF#000000##000000
##8D7E1C1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A04
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#99746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7e1c;
/* rgb */ color: rgb(141, 126, 28);
/* oklch */ color: oklch(59.0% 0.113 100.0);
Tailwind
colors: {
  custom: {
    50: '#b2a361',
    500: '#8d7e1c',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e1c;
$custom-light: #b2a361;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e1c",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 52.035,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.11309,
    "h": 100
  },
  "luminance": 0.20668
}

Semantic roles & 50–950 ramp

primary
#8D7E1C
secondary
#4858BD
accent
#55EA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8D7E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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