#8D8338#8D8338

#8D8338 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.097 H 101.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8D8338
RGBrgb(141, 131, 56)
HSLhsl(53, 43%, 39%)
HSVhsv(53, 60%, 55%)
CMYKcmyk(0%, 7.1%, 60.3%, 44.7%)
CIE-LABlab(54.22, -6.19, 41.03)
CIE-LCHlch(54.22, 41.49, 98.58°)
OKLaboklab(60.32% -0.0197 0.0948)
OKLCHoklch(60.32% 0.097 101.8)
XYZxyz(19.8153, 22.1816, 6.9783)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8338 #38428D
analogous
#8D5838 #8D8338 #6C8D38
triadic
#8D8338 #388D83 #83388D
tetradic
#8D8338 #388D58 #38428D #8D386C
square
#8D8338 #388D58 #38428D #8D386C
split-complementary
#8D8338 #386C8D #58388D
monochromatic
#353215 #615A27 #8D8338 #B7AB4B #C9BF77

Accessibility & contrast

On white

3.86
#8D8338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8D8338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8338
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8338#FFFFFF#000000##000000
##8D83381.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F30
Deuteranopia (green-blind)
#91843C
Tritanopia (blue-blind)
#977A73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8338;
/* rgb */ color: rgb(141, 131, 56);
/* oklch */ color: oklch(60.3% 0.097 101.8);
Tailwind
colors: {
  custom: {
    50: '#b1a672',
    500: '#8d8338',
    950: '#000000',
  },
}
SCSS
$custom: #8d8338;
$custom-light: #b1a672;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8338",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 52.941,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.09683,
    "h": 101.8
  },
  "luminance": 0.22181
}

Semantic roles & 50–950 ramp

primary
#8D8338
secondary
#6F77B2
accent
#64D355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D8338

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

Preview Lab → · Contrast checker → · Palette generator →

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