#8D852B#8D852B

#8D852B is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.110 H 104.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8D852B
RGBrgb(141, 133, 43)
HSLhsl(55, 53%, 36%)
HSVhsv(55, 70%, 55%)
CMYKcmyk(0%, 5.7%, 69.5%, 44.7%)
CIE-LABlab(54.67, -8.17, 47.44)
CIE-LCHlch(54.67, 48.14, 99.78°)
OKLaboklab(60.64% -0.0269 0.1064)
OKLCHoklch(60.64% 0.11 104.2)
XYZxyz(19.8089, 22.6130, 5.6063)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D852B #2B338D
analogous
#8D542B #8D852B #648D2B
triadic
#8D852B #2B8D85 #852B8D
tetradic
#8D852B #2B8D54 #2B338D #8D2B64
square
#8D852B #2B8D54 #2B338D #8D2B64
split-complementary
#8D852B #2B648D #542B8D
monochromatic
#2F2D0E #5E591D #8D852B #BCB139 #CFC763

Accessibility & contrast

On white

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

On black

5.52
#8D852B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D852B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D852B#FFFFFF#000000##000000
##8D852B1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801E
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#987C73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d852b;
/* rgb */ color: rgb(141, 133, 43);
/* oklch */ color: oklch(60.6% 0.110 104.2);
Tailwind
colors: {
  custom: {
    50: '#b1a86a',
    500: '#8d852b',
    950: '#000000',
  },
}
SCSS
$custom: #8d852b;
$custom-light: #b1a86a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d852b",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 43
  },
  "hsl": {
    "h": 55.102,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.10971,
    "h": 104.2
  },
  "luminance": 0.22612
}

Semantic roles & 50–950 ramp

primary
#8D852B
secondary
#5E65B6
accent
#57DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D852B

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

Preview Lab → · Contrast checker → · Palette generator →

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