#8D8028#8D8028

#8D8028 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#8D8028
RGBrgb(141, 128, 40)
HSLhsl(52, 56%, 35%)
HSVhsv(52, 72%, 55%)
CMYKcmyk(0%, 9.2%, 71.6%, 44.7%)
CIE-LABlab(53.23, -5.59, 47.24)
CIE-LCHlch(53.23, 47.57, 96.75°)
OKLaboklab(59.49% -0.02 0.1054)
OKLCHoklch(59.49% 0.107 100.7)
XYZxyz(19.0875, 21.2551, 5.1043)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8028 #28358D
analogous
#8D4D28 #8D8028 #678D28
triadic
#8D8028 #288D80 #80288D
tetradic
#8D8028 #288D4D #28358D #8D2867
square
#8D8028 #288D4D #28358D #8D2867
split-complementary
#8D8028 #28678D #4D288D
monochromatic
#2E290D #5D551A #8D8028 #BDAB36 #D1C35E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8028#FFFFFF#000000##000000
##8D80281.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)
#8C7C1B
Deuteranopia (green-blind)
#90812D
Tritanopia (blue-blind)
#98776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d8028;
/* rgb */ color: rgb(141, 128, 40);
/* oklch */ color: oklch(59.5% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#b1a468',
    500: '#8d8028',
    950: '#000000',
  },
}
SCSS
$custom: #8d8028;
$custom-light: #b1a468;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8028",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 52.277,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59489,
    "c": 0.10726,
    "h": 100.7
  },
  "luminance": 0.21254
}

Semantic roles & 50–950 ramp

primary
#8D8028
secondary
#5A66B7
accent
#5CDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8028

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

Preview Lab → · Contrast checker → · Palette generator →

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