#8D7A18#8D7A18

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

Color values

HEX#8D7A18
RGBrgb(141, 122, 24)
HSLhsl(50, 71%, 32%)
HSVhsv(50, 83%, 55%)
CMYKcmyk(0%, 13.5%, 83%, 44.7%)
CIE-LABlab(51.44, -2.96, 51.48)
CIE-LCHlch(51.44, 51.56, 93.30°)
OKLaboklab(58.04% -0.0142 0.1111)
OKLCHoklch(58.04% 0.112 97.3)
XYZxyz(18.1099, 19.6487, 3.7027)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A18 #182B8D
analogous
#8D3F18 #8D7A18 #668D18
triadic
#8D7A18 #188D7A #7A188D
tetradic
#8D7A18 #188D3F #182B8D #8D1866
square
#8D7A18 #188D3F #182B8D #8D1866
split-complementary
#8D7A18 #18668D #3F188D
monochromatic
#241F06 #594D0F #8D7A18 #C1A721 #DFC541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7A18#FFFFFF#000000##000000
##8D7A181.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)
#8C7D1F
Tritanopia (blue-blind)
#997068
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a18;
/* rgb */ color: rgb(141, 122, 24);
/* oklch */ color: oklch(58.0% 0.112 97.3);
Tailwind
colors: {
  custom: {
    50: '#b2a05f',
    500: '#8d7a18',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a18;
$custom-light: #b2a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a18",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 50.256,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58039,
    "c": 0.11203,
    "h": 97.3
  },
  "luminance": 0.19648
}

Semantic roles & 50–950 ramp

primary
#8D7A18
secondary
#4256BF
accent
#57EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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