#8D7E18#8D7E18

#8D7E18 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.115 H 100.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8D7E18
RGBrgb(141, 126, 24)
HSLhsl(52, 71%, 32%)
HSVhsv(52, 83%, 55%)
CMYKcmyk(0%, 10.6%, 83%, 44.7%)
CIE-LABlab(52.57, -5.20, 52.46)
CIE-LCHlch(52.57, 52.72, 95.66°)
OKLaboklab(58.93% -0.0205 0.1133)
OKLCHoklch(58.93% 0.115 100.2)
XYZxyz(18.6112, 20.6513, 3.8698)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E18 #18278D
analogous
#8D4418 #8D7E18 #618D18
triadic
#8D7E18 #188D7E #7E188D
tetradic
#8D7E18 #188D44 #18278D #8D1861
square
#8D7E18 #188D44 #18278D #8D1861
split-complementary
#8D7E18 #18618D #44188D
monochromatic
#242106 #594F0F #8D7E18 #C1AD21 #DFCA41

Accessibility & contrast

On white

4.09
#8D7E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8D7E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E18
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E18#FFFFFF#000000##000000
##8D7E181.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#99746B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7e18;
/* rgb */ color: rgb(141, 126, 24);
/* oklch */ color: oklch(58.9% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#b2a360',
    500: '#8d7e18',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e18;
$custom-light: #b2a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e18",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 52.308,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58933,
    "c": 0.1151,
    "h": 100.2
  },
  "luminance": 0.2065
}

Semantic roles & 50–950 ramp

primary
#8D7E18
secondary
#4252BF
accent
#51EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #8D7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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