#8D813A#8D813A

#8D813A is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.9% C 0.093 H 99.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8D813A
RGBrgb(141, 129, 58)
HSLhsl(51, 42%, 39%)
HSVhsv(51, 59%, 55%)
CMYKcmyk(0%, 8.5%, 58.9%, 44.7%)
CIE-LABlab(53.67, -4.93, 39.43)
CIE-LCHlch(53.67, 39.74, 97.12°)
OKLaboklab(59.9% -0.0159 0.0916)
OKLCHoklch(59.9% 0.093 99.8)
XYZxyz(19.5992, 21.6695, 7.1524)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D813A #3A468D
analogous
#8D583A #8D813A #708D3A
triadic
#8D813A #3A8D81 #813A8D
tetradic
#8D813A #3A8D58 #3A468D #8D3A70
square
#8D813A #3A8D58 #3A468D #8D3A70
split-complementary
#8D813A #3A708D #583A8D
monochromatic
#363216 #625928 #8D813A #B6A74E #C8BD79

Accessibility & contrast

On white

3.94
#8D813A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8D813A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D813A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D813A#FFFFFF#000000##000000
##8D813A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E33
Deuteranopia (green-blind)
#90823D
Tritanopia (blue-blind)
#977971
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d813a;
/* rgb */ color: rgb(141, 129, 58);
/* oklch */ color: oklch(59.9% 0.093 99.8);
Tailwind
colors: {
  custom: {
    50: '#b1a573',
    500: '#8d813a',
    950: '#000000',
  },
}
SCSS
$custom: #8d813a;
$custom-light: #b1a573;
$custom-dark: #000000;
JSON
{
  "hex": "#8d813a",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 58
  },
  "hsl": {
    "h": 51.325,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59896,
    "c": 0.09299,
    "h": 99.8
  },
  "luminance": 0.21669
}

Semantic roles & 50–950 ramp

primary
#8D813A
secondary
#717BB1
accent
#68D256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D813A

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

Preview Lab → · Contrast checker → · Palette generator →

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