#8D8029#8D8029

#8D8029 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.107 H 100.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8D8029
RGBrgb(141, 128, 41)
HSLhsl(52, 55%, 36%)
HSVhsv(52, 71%, 55%)
CMYKcmyk(0%, 9.2%, 70.9%, 44.7%)
CIE-LABlab(53.24, -5.54, 46.83)
CIE-LCHlch(53.24, 47.16, 96.74°)
OKLaboklab(59.5% -0.0197 0.1047)
OKLCHoklch(59.5% 0.107 100.7)
XYZxyz(19.1048, 21.2620, 5.1950)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8029 #29368D
analogous
#8D4E29 #8D8029 #688D29
triadic
#8D8029 #298D80 #80298D
tetradic
#8D8029 #298D4E #29368D #8D2968
square
#8D8029 #298D4E #29368D #8D2968
split-complementary
#8D8029 #29688D #4E298D
monochromatic
#2E2A0D #5E551B #8D8029 #BCAB37 #D1C260

Accessibility & contrast

On white

4.00
#8D8029 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8D8029 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8029
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8029#FFFFFF#000000##000000
##8D80291.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1C
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#98776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d8029;
/* rgb */ color: rgb(141, 128, 41);
/* oklch */ color: oklch(59.5% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#b1a468',
    500: '#8d8029',
    950: '#000000',
  },
}
SCSS
$custom: #8d8029;
$custom-light: #b1a468;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8029",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 41
  },
  "hsl": {
    "h": 52.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59497,
    "c": 0.10654,
    "h": 100.7
  },
  "luminance": 0.21261
}

Semantic roles & 50–950 ramp

primary
#8D8029
secondary
#5B67B6
accent
#5DDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8029

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

Preview Lab → · Contrast checker → · Palette generator →

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