#8D7D18#8D7D18

#8D7D18 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#8D7D18
RGBrgb(141, 125, 24)
HSLhsl(52, 71%, 32%)
HSVhsv(52, 83%, 55%)
CMYKcmyk(0%, 11.3%, 83%, 44.7%)
CIE-LABlab(52.28, -4.64, 52.21)
CIE-LCHlch(52.28, 52.42, 95.08°)
OKLaboklab(58.71% -0.0189 0.1127)
OKLCHoklch(58.71% 0.114 99.5)
XYZxyz(18.4839, 20.3968, 3.8274)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D18 #18288D
analogous
#8D4318 #8D7D18 #628D18
triadic
#8D7D18 #188D7D #7D188D
tetradic
#8D7D18 #188D43 #18288D #8D1862
square
#8D7D18 #188D43 #18288D #8D1862
split-complementary
#8D7D18 #18628D #43188D
monochromatic
#242006 #594F0F #8D7D18 #C1AB21 #DFC941

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7D18#FFFFFF#000000##000000
##8D7D181.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)
#8E7F20
Tritanopia (blue-blind)
#99736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d18;
/* rgb */ color: rgb(141, 125, 24);
/* oklch */ color: oklch(58.7% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#b2a25f',
    500: '#8d7d18',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d18;
$custom-light: #b2a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d18",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 51.795,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58709,
    "c": 0.11431,
    "h": 99.5
  },
  "luminance": 0.20396
}

Semantic roles & 50–950 ramp

primary
#8D7D18
secondary
#4253BF
accent
#53EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #8D7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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