#8D7019#8D7019

#8D7019 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.8% C 0.105 H 88.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8D7019
RGBrgb(141, 112, 25)
HSLhsl(45, 70%, 33%)
HSVhsv(45, 82%, 55%)
CMYKcmyk(0%, 20.6%, 82.3%, 44.7%)
CIE-LABlab(48.66, 2.74, 48.69)
CIE-LCHlch(48.66, 48.77, 86.78°)
OKLaboklab(55.85% 0.0021 0.1053)
OKLCHoklch(55.85% 0.105 88.9)
XYZxyz(16.9552, 17.3224, 3.3700)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7019 #19368D
analogous
#8D3619 #8D7019 #708D19
triadic
#8D7019 #198D70 #70198D
tetradic
#8D7019 #198D36 #19368D #8D1970
square
#8D7019 #198D36 #19368D #8D1970
split-complementary
#8D7019 #19708D #36198D
monochromatic
#251D07 #594710 #8D7019 #C19922 #DEB743

Accessibility & contrast

On white

4.70
#8D7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8D7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D7019
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7019#FFFFFF#000000##FFFFFF
##8D70191.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F05
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#996560
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d7019;
/* rgb */ color: rgb(141, 112, 25);
/* oklch */ color: oklch(55.8% 0.105 88.9);
Tailwind
colors: {
  custom: {
    50: '#b3985e',
    500: '#8d7019',
    950: '#000000',
  },
}
SCSS
$custom: #8d7019;
$custom-light: #b3985e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7019",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 45,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.10536,
    "h": 88.9
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#8D7019
secondary
#4362BF
accent
#68ED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D05
muted
#817E79

Preview Lab

Preview with #8D7019

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

Preview Lab → · Contrast checker → · Palette generator →

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