#8D862B#8D862B

#8D862B is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.111 H 104.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8D862B
RGBrgb(141, 134, 43)
HSLhsl(56, 53%, 36%)
HSVhsv(56, 70%, 55%)
CMYKcmyk(0%, 5%, 69.5%, 44.7%)
CIE-LABlab(54.96, -8.72, 47.73)
CIE-LCHlch(54.96, 48.52, 100.35°)
OKLaboklab(60.87% -0.0285 0.107)
OKLCHoklch(60.87% 0.111 104.9)
XYZxyz(19.9464, 22.8881, 5.6522)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D862B #2B328D
analogous
#8D552B #8D862B #638D2B
triadic
#8D862B #2B8D86 #862B8D
tetradic
#8D862B #2B8D55 #2B328D #8D2B63
square
#8D862B #2B8D55 #2B328D #8D2B63
split-complementary
#8D862B #2B638D #552B8D
monochromatic
#2F2D0E #5E591D #8D862B #BCB339 #CFC863

Accessibility & contrast

On white

3.77
#8D862B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8D862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D862B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D862B#FFFFFF#000000##000000
##8D862B1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#987D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d862b;
/* rgb */ color: rgb(141, 134, 43);
/* oklch */ color: oklch(60.9% 0.111 104.9);
Tailwind
colors: {
  custom: {
    50: '#b1a96a',
    500: '#8d862b',
    950: '#000000',
  },
}
SCSS
$custom: #8d862b;
$custom-light: #b1a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d862b",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 55.714,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6087,
    "c": 0.11069,
    "h": 104.9
  },
  "luminance": 0.22887
}

Semantic roles & 50–950 ramp

primary
#8D862B
secondary
#5E64B6
accent
#56DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D862B

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

Preview Lab → · Contrast checker → · Palette generator →

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