#8D8027#8D8027

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

Color values

HEX#8D8027
RGBrgb(141, 128, 39)
HSLhsl(52, 57%, 35%)
HSVhsv(52, 72%, 55%)
CMYKcmyk(0%, 9.2%, 72.3%, 44.7%)
CIE-LABlab(53.22, -5.65, 47.65)
CIE-LCHlch(53.22, 47.98, 96.76°)
OKLaboklab(59.48% -0.0202 0.1061)
OKLCHoklch(59.48% 0.108 100.8)
XYZxyz(19.0707, 21.2484, 5.0159)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8027 #27348D
analogous
#8D4D27 #8D8027 #678D27
triadic
#8D8027 #278D80 #80278D
tetradic
#8D8027 #278D4D #27348D #8D2767
square
#8D8027 #278D4D #27348D #8D2767
split-complementary
#8D8027 #27678D #4D278D
monochromatic
#2D290C #5D541A #8D8027 #BDAC34 #D2C35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8d8027;
/* rgb */ color: rgb(141, 128, 39);
/* oklch */ color: oklch(59.5% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#b1a467',
    500: '#8d8027',
    950: '#000000',
  },
}
SCSS
$custom: #8d8027;
$custom-light: #b1a467;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8027",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 39
  },
  "hsl": {
    "h": 52.353,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59481,
    "c": 0.10796,
    "h": 100.8
  },
  "luminance": 0.21248
}

Semantic roles & 50–950 ramp

primary
#8D8027
secondary
#5965B7
accent
#5BE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8027

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

Preview Lab → · Contrast checker → · Palette generator →

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