#8D8235#8D8235

#8D8235 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.1% C 0.099 H 101.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8D8235
RGBrgb(141, 130, 53)
HSLhsl(53, 45%, 38%)
HSVhsv(53, 62%, 55%)
CMYKcmyk(0%, 7.8%, 62.4%, 44.7%)
CIE-LABlab(53.91, -5.87, 42.13)
CIE-LCHlch(53.91, 42.53, 97.93°)
OKLaboklab(60.06% -0.0192 0.0967)
OKLCHoklch(60.06% 0.099 101.2)
XYZxyz(19.6105, 21.8858, 6.5589)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8235 #35408D
analogous
#8D5635 #8D8235 #6C8D35
triadic
#8D8235 #358D82 #82358D
tetradic
#8D8235 #358D56 #35408D #8D356C
square
#8D8235 #358D56 #35408D #8D356C
split-complementary
#8D8235 #356C8D #56358D
monochromatic
#343014 #615924 #8D8235 #B9AB46 #CABF72

Accessibility & contrast

On white

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

On black

5.38
#8D8235 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8235
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8235#FFFFFF#000000##000000
##8D82351.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2C
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#977971
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8235;
/* rgb */ color: rgb(141, 130, 53);
/* oklch */ color: oklch(60.1% 0.099 101.2);
Tailwind
colors: {
  custom: {
    50: '#b1a670',
    500: '#8d8235',
    950: '#000000',
  },
}
SCSS
$custom: #8d8235;
$custom-light: #b1a670;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8235",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 53
  },
  "hsl": {
    "h": 52.5,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60063,
    "c": 0.0986,
    "h": 101.2
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#8D8235
secondary
#6B74B2
accent
#63D553
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D8235

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

Preview Lab → · Contrast checker → · Palette generator →

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