#8D8226#8D8226

#8D8226 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.110 H 102.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8D8226
RGBrgb(141, 130, 38)
HSLhsl(54, 58%, 35%)
HSVhsv(54, 73%, 55%)
CMYKcmyk(0%, 7.8%, 73%, 44.7%)
CIE-LABlab(53.78, -6.80, 48.61)
CIE-LCHlch(53.78, 49.08, 97.97°)
OKLaboklab(59.92% -0.0236 0.1079)
OKLCHoklch(59.92% 0.11 102.4)
XYZxyz(19.3178, 21.7688, 5.0176)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8226 #26318D
analogous
#8D4E26 #8D8226 #658D26
triadic
#8D8226 #268D82 #82268D
tetradic
#8D8226 #268D4E #26318D #8D2665
square
#8D8226 #268D4E #26318D #8D2665
split-complementary
#8D8226 #26658D #4E268D
monochromatic
#2D290C #5D5619 #8D8226 #BDAE33 #D3C65B

Accessibility & contrast

On white

3.92
#8D8226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8D8226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8226
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8226#FFFFFF#000000##000000
##8D82261.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E17
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#987970
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8226;
/* rgb */ color: rgb(141, 130, 38);
/* oklch */ color: oklch(59.9% 0.110 102.4);
Tailwind
colors: {
  custom: {
    50: '#b2a667',
    500: '#8d8226',
    950: '#000000',
  },
}
SCSS
$custom: #8d8226;
$custom-light: #b2a667;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8226",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 53.592,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.11045,
    "h": 102.4
  },
  "luminance": 0.21768
}

Semantic roles & 50–950 ramp

primary
#8D8226
secondary
#5762B8
accent
#57E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8226

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

Preview Lab → · Contrast checker → · Palette generator →

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