#8D7B19#8D7B19

#8D7B19 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.3% C 0.112 H 98.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D7B19
RGBrgb(141, 123, 25)
HSLhsl(51, 70%, 33%)
HSVhsv(51, 82%, 55%)
CMYKcmyk(0%, 12.8%, 82.3%, 44.7%)
CIE-LABlab(51.72, -3.49, 51.41)
CIE-LCHlch(51.72, 51.53, 93.88°)
OKLaboklab(58.27% -0.0156 0.1112)
OKLCHoklch(58.27% 0.112 98)
XYZxyz(18.2439, 19.8998, 3.7996)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B19 #192B8D
analogous
#8D4119 #8D7B19 #658D19
triadic
#8D7B19 #198D7B #7B198D
tetradic
#8D7B19 #198D41 #192B8D #8D1965
square
#8D7B19 #198D41 #192B8D #8D1965
split-complementary
#8D7B19 #19658D #41198D
monochromatic
#252007 #594E10 #8D7B19 #C1A822 #DEC643

Accessibility & contrast

On white

4.22
#8D7B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8D7B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B19
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B19#FFFFFF#000000##000000
##8D7B191.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#997169
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7b19;
/* rgb */ color: rgb(141, 123, 25);
/* oklch */ color: oklch(58.3% 0.112 98.0);
Tailwind
colors: {
  custom: {
    50: '#b2a060',
    500: '#8d7b19',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b19;
$custom-light: #b2a060;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b19",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 50.69,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58267,
    "c": 0.11229,
    "h": 98
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#8D7B19
secondary
#4356BF
accent
#57ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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