#8D7E19#8D7E19

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

Color values

HEX#8D7E19
RGBrgb(141, 126, 25)
HSLhsl(52, 70%, 33%)
HSVhsv(52, 82%, 55%)
CMYKcmyk(0%, 10.6%, 82.3%, 44.7%)
CIE-LABlab(52.57, -5.16, 52.15)
CIE-LCHlch(52.57, 52.41, 95.65°)
OKLaboklab(58.94% -0.0203 0.1128)
OKLCHoklch(58.94% 0.115 100.2)
XYZxyz(18.6218, 20.6555, 3.9256)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E19 #19288D
analogous
#8D4419 #8D7E19 #628D19
triadic
#8D7E19 #198D7E #7E198D
tetradic
#8D7E19 #198D44 #19288D #8D1962
square
#8D7E19 #198D44 #19288D #8D1962
split-complementary
#8D7E19 #19628D #44198D
monochromatic
#252107 #595010 #8D7E19 #C1AC22 #DECA43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7E19#FFFFFF#000000##000000
##8D7E191.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)
#8B7A00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#99746B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7e19;
/* rgb */ color: rgb(141, 126, 25);
/* oklch */ color: oklch(58.9% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#b2a360',
    500: '#8d7e19',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e19;
$custom-light: #b2a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e19",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 52.241,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58938,
    "c": 0.11462,
    "h": 100.2
  },
  "luminance": 0.20655
}

Semantic roles & 50–950 ramp

primary
#8D7E19
secondary
#4353BF
accent
#52ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #8D7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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