#8D7C18#8D7C18

#8D7C18 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.5% C 0.114 H 98.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D7C18
RGBrgb(141, 124, 24)
HSLhsl(51, 71%, 32%)
HSVhsv(51, 83%, 55%)
CMYKcmyk(0%, 12.1%, 83%, 44.7%)
CIE-LABlab(52.00, -4.08, 51.97)
CIE-LCHlch(52.00, 52.13, 94.49°)
OKLaboklab(58.49% -0.0173 0.1122)
OKLCHoklch(58.49% 0.114 98.8)
XYZxyz(18.3580, 20.1449, 3.7854)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C18 #18298D
analogous
#8D4218 #8D7C18 #648D18
triadic
#8D7C18 #188D7C #7C188D
tetradic
#8D7C18 #188D42 #18298D #8D1864
square
#8D7C18 #188D42 #18298D #8D1864
split-complementary
#8D7C18 #18648D #42188D
monochromatic
#242006 #594E0F #8D7C18 #C1AA21 #DFC841

Accessibility & contrast

On white

4.18
#8D7C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8D7C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C18
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C18#FFFFFF#000000##000000
##8D7C181.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8E7F20
Tritanopia (blue-blind)
#99726A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c18;
/* rgb */ color: rgb(141, 124, 24);
/* oklch */ color: oklch(58.5% 0.114 98.8);
Tailwind
colors: {
  custom: {
    50: '#b2a15f',
    500: '#8d7c18',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c18;
$custom-light: #b2a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c18",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 51.282,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58485,
    "c": 0.11353,
    "h": 98.8
  },
  "luminance": 0.20144
}

Semantic roles & 50–950 ramp

primary
#8D7C18
secondary
#4254BF
accent
#54EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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