#8D8038#8D8038

#8D8038 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.094 H 99.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8D8038
RGBrgb(141, 128, 56)
HSLhsl(51, 43%, 39%)
HSVhsv(51, 60%, 55%)
CMYKcmyk(0%, 9.2%, 60.3%, 44.7%)
CIE-LABlab(53.37, -4.53, 40.08)
CIE-LCHlch(53.37, 40.33, 96.45°)
OKLaboklab(59.65% -0.015 0.0928)
OKLCHoklch(59.65% 0.094 99.2)
XYZxyz(19.4182, 21.3874, 6.8459)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8038 #38458D
analogous
#8D5538 #8D8038 #6F8D38
triadic
#8D8038 #388D80 #80388D
tetradic
#8D8038 #388D55 #38458D #8D386F
square
#8D8038 #388D55 #38458D #8D386F
split-complementary
#8D8038 #386F8D #55388D
monochromatic
#353015 #615827 #8D8038 #B7A74B #C9BC77

Accessibility & contrast

On white

3.98
#8D8038 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8D8038 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8038
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8038#FFFFFF#000000##000000
##8D80381.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D31
Deuteranopia (green-blind)
#8F823B
Tritanopia (blue-blind)
#977770
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d8038;
/* rgb */ color: rgb(141, 128, 56);
/* oklch */ color: oklch(59.6% 0.094 99.2);
Tailwind
colors: {
  custom: {
    50: '#b1a471',
    500: '#8d8038',
    950: '#000000',
  },
}
SCSS
$custom: #8d8038;
$custom-light: #b1a471;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8038",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 56
  },
  "hsl": {
    "h": 50.824,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.09395,
    "h": 99.2
  },
  "luminance": 0.21387
}

Semantic roles & 50–950 ramp

primary
#8D8038
secondary
#6F79B2
accent
#68D355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D8038

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

Preview Lab → · Contrast checker → · Palette generator →

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