#8D822F#8D822F

#8D822F is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.104 H 101.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8D822F
RGBrgb(141, 130, 47)
HSLhsl(53, 50%, 37%)
HSVhsv(53, 67%, 55%)
CMYKcmyk(0%, 7.8%, 66.7%, 44.7%)
CIE-LABlab(53.85, -6.28, 44.85)
CIE-LCHlch(53.85, 45.29, 97.97°)
OKLaboklab(60% -0.0211 0.1016)
OKLCHoklch(60% 0.104 101.7)
XYZxyz(19.4810, 21.8340, 5.8770)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D822F #2F3A8D
analogous
#8D532F #8D822F #698D2F
triadic
#8D822F #2F8D82 #822F8D
tetradic
#8D822F #2F8D53 #2F3A8D #8D2F69
square
#8D822F #2F8D53 #2F3A8D #8D2F69
split-complementary
#8D822F #2F698D #532F8D
monochromatic
#312D10 #5F5820 #8D822F #BBAC3E #CDC169

Accessibility & contrast

On white

3.91
#8D822F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8D822F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D822F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D822F#FFFFFF#000000##000000
##8D822F1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E25
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#987971
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d822f;
/* rgb */ color: rgb(141, 130, 47);
/* oklch */ color: oklch(60.0% 0.104 101.7);
Tailwind
colors: {
  custom: {
    50: '#b1a66c',
    500: '#8d822f',
    950: '#000000',
  },
}
SCSS
$custom: #8d822f;
$custom-light: #b1a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d822f",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 52.979,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60001,
    "c": 0.10373,
    "h": 101.7
  },
  "luminance": 0.21833
}

Semantic roles & 50–950 ramp

primary
#8D822F
secondary
#646DB4
accent
#5FDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D822F

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

Preview Lab → · Contrast checker → · Palette generator →

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