#8D7D19#8D7D19

#8D7D19 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.114 H 99.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8D7D19
RGBrgb(141, 125, 25)
HSLhsl(52, 70%, 33%)
HSVhsv(52, 82%, 55%)
CMYKcmyk(0%, 11.3%, 82.3%, 44.7%)
CIE-LABlab(52.29, -4.61, 51.91)
CIE-LCHlch(52.29, 52.11, 95.07°)
OKLaboklab(58.71% -0.0187 0.1123)
OKLCHoklch(58.71% 0.114 99.5)
XYZxyz(18.4945, 20.4011, 3.8832)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D19 #19298D
analogous
#8D4319 #8D7D19 #638D19
triadic
#8D7D19 #198D7D #7D198D
tetradic
#8D7D19 #198D43 #19298D #8D1963
square
#8D7D19 #198D43 #19298D #8D1963
split-complementary
#8D7D19 #19638D #43198D
monochromatic
#252107 #594F10 #8D7D19 #C1AB22 #DEC843

Accessibility & contrast

On white

4.13
#8D7D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8D7D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D19
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D19#FFFFFF#000000##000000
##8D7D191.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#99736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d19;
/* rgb */ color: rgb(141, 125, 25);
/* oklch */ color: oklch(58.7% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#b2a260',
    500: '#8d7d19',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d19;
$custom-light: #b2a260;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d19",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 51.724,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58714,
    "c": 0.11382,
    "h": 99.5
  },
  "luminance": 0.204
}

Semantic roles & 50–950 ramp

primary
#8D7D19
secondary
#4354BF
accent
#54ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #8D7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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