#8D7218#8D7218

#8D7218 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.3% C 0.107 H 90.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D7218
RGBrgb(141, 114, 24)
HSLhsl(46, 71%, 32%)
HSVhsv(46, 83%, 55%)
CMYKcmyk(0%, 19.1%, 83%, 44.7%)
CIE-LABlab(49.21, 1.56, 49.52)
CIE-LCHlch(49.21, 49.54, 88.19°)
OKLaboklab(56.28% -0.0013 0.1069)
OKLCHoklch(56.28% 0.107 90.7)
XYZxyz(17.1677, 17.7644, 3.3886)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7218 #18338D
analogous
#8D3818 #8D7218 #6D8D18
triadic
#8D7218 #188D72 #72188D
tetradic
#8D7218 #188D38 #18338D #8D186D
square
#8D7218 #188D38 #18338D #8D186D
split-complementary
#8D7218 #186D8D #38188D
monochromatic
#241D06 #59480F #8D7218 #C19C21 #DFBA41

Accessibility & contrast

On white

4.61
#8D7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8D7218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D7218
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7218#FFFFFF#000000##FFFFFF
##8D72181.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807102
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#996861
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d7218;
/* rgb */ color: rgb(141, 114, 24);
/* oklch */ color: oklch(56.3% 0.107 90.7);
Tailwind
colors: {
  custom: {
    50: '#b29a5e',
    500: '#8d7218',
    950: '#000000',
  },
}
SCSS
$custom: #8d7218;
$custom-light: #b29a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7218",
  "rgb": {
    "r": 141,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 46.154,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.10691,
    "h": 90.7
  },
  "luminance": 0.17763
}

Semantic roles & 50–950 ramp

primary
#8D7218
secondary
#425FBF
accent
#64EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8D7218

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

Preview Lab → · Contrast checker → · Palette generator →

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