#8D8026#8D8026

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

Color values

HEX#8D8026
RGBrgb(141, 128, 38)
HSLhsl(52, 58%, 35%)
HSVhsv(52, 73%, 55%)
CMYKcmyk(0%, 9.2%, 73%, 44.7%)
CIE-LABlab(53.21, -5.70, 48.05)
CIE-LCHlch(53.21, 48.39, 96.77°)
OKLaboklab(59.47% -0.0205 0.1067)
OKLCHoklch(59.47% 0.109 100.9)
XYZxyz(19.0544, 21.2419, 4.9298)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8026 #26338D
analogous
#8D4C26 #8D8026 #678D26
triadic
#8D8026 #268D80 #80268D
tetradic
#8D8026 #268D4C #26338D #8D2667
square
#8D8026 #268D4C #26338D #8D2667
split-complementary
#8D8026 #26678D #4C268D
monochromatic
#2D280C #5D5419 #8D8026 #BDAC33 #D3C45B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8026#FFFFFF#000000##000000
##8D80261.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)
#8C7C18
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#98776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d8026;
/* rgb */ color: rgb(141, 128, 38);
/* oklch */ color: oklch(59.5% 0.109 100.9);
Tailwind
colors: {
  custom: {
    50: '#b2a467',
    500: '#8d8026',
    950: '#000000',
  },
}
SCSS
$custom: #8d8026;
$custom-light: #b2a467;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8026",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 38
  },
  "hsl": {
    "h": 52.427,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.10866,
    "h": 100.9
  },
  "luminance": 0.21241
}

Semantic roles & 50–950 ramp

primary
#8D8026
secondary
#5763B8
accent
#5AE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8026

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

Preview Lab → · Contrast checker → · Palette generator →

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