#8D7A19#8D7A19

#8D7A19 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.112 H 97.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D7A19
RGBrgb(141, 122, 25)
HSLhsl(50, 70%, 33%)
HSVhsv(50, 82%, 55%)
CMYKcmyk(0%, 13.5%, 82.3%, 44.7%)
CIE-LABlab(51.44, -2.93, 51.16)
CIE-LCHlch(51.44, 51.24, 93.28°)
OKLaboklab(58.04% -0.014 0.1107)
OKLCHoklch(58.04% 0.112 97.2)
XYZxyz(18.1205, 19.6530, 3.7585)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A19 #192C8D
analogous
#8D4019 #8D7A19 #668D19
triadic
#8D7A19 #198D7A #7A198D
tetradic
#8D7A19 #198D40 #192C8D #8D1966
square
#8D7A19 #198D40 #192C8D #8D1966
split-complementary
#8D7A19 #19668D #40198D
monochromatic
#252007 #594D10 #8D7A19 #C1A722 #DEC443

Accessibility & contrast

On white

4.26
#8D7A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8D7A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A19
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A19#FFFFFF#000000##000000
##8D7A191.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#997068
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a19;
/* rgb */ color: rgb(141, 122, 25);
/* oklch */ color: oklch(58.0% 0.112 97.2);
Tailwind
colors: {
  custom: {
    50: '#b2a05f',
    500: '#8d7a19',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a19;
$custom-light: #b2a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a19",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 50.172,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58044,
    "c": 0.11155,
    "h": 97.2
  },
  "luminance": 0.19652
}

Semantic roles & 50–950 ramp

primary
#8D7A19
secondary
#4357BF
accent
#58ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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