#8D852D#8D852D

#8D852D is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.7% C 0.108 H 104.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8D852D
RGBrgb(141, 133, 45)
HSLhsl(55, 52%, 36%)
HSVhsv(55, 68%, 55%)
CMYKcmyk(0%, 5.7%, 68.1%, 44.7%)
CIE-LABlab(54.69, -8.05, 46.60)
CIE-LCHlch(54.69, 47.29, 99.80°)
OKLaboklab(60.66% -0.0264 0.1049)
OKLCHoklch(60.66% 0.108 104.1)
XYZxyz(19.8465, 22.6280, 5.8043)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D852D #2D358D
analogous
#8D552D #8D852D #658D2D
triadic
#8D852D #2D8D85 #852D8D
tetradic
#8D852D #2D8D55 #2D358D #8D2D65
square
#8D852D #2D8D55 #2D358D #8D2D65
split-complementary
#8D852D #2D658D #552D8D
monochromatic
#302D0F #5F591E #8D852D #BBB13C #CEC666

Accessibility & contrast

On white

3.80
#8D852D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8D852D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D852D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D852D#FFFFFF#000000##000000
##8D852D1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918021
Deuteranopia (green-blind)
#938532
Tritanopia (blue-blind)
#977C73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d852d;
/* rgb */ color: rgb(141, 133, 45);
/* oklch */ color: oklch(60.7% 0.108 104.1);
Tailwind
colors: {
  custom: {
    50: '#b1a86b',
    500: '#8d852d',
    950: '#000000',
  },
}
SCSS
$custom: #8d852d;
$custom-light: #b1a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d852d",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 55,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60661,
    "c": 0.10819,
    "h": 104.1
  },
  "luminance": 0.22627
}

Semantic roles & 50–950 ramp

primary
#8D852D
secondary
#6168B5
accent
#59DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D852D

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

Preview Lab → · Contrast checker → · Palette generator →

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