#8D8D26#8D8D26

#8D8D26 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.121 H 109.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8D8D26
RGBrgb(141, 141, 38)
HSLhsl(60, 58%, 35%)
HSVhsv(60, 73%, 55%)
CMYKcmyk(0%, 0%, 73%, 44.7%)
CIE-LABlab(56.93, -12.76, 51.67)
CIE-LCHlch(56.93, 53.22, 103.88°)
OKLaboklab(62.43% -0.0404 0.1144)
OKLCHoklch(62.43% 0.121 109.5)
XYZxyz(20.8600, 24.8530, 5.5316)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D26 #26268D
analogous
#8D5926 #8D8D26 #598D26
triadic
#8D8D26 #268D8D #8D268D
tetradic
#8D8D26 #268D59 #26268D #8D2659
square
#8D8D26 #268D59 #26268D #8D2659
split-complementary
#8D8D26 #26598D #59268D
monochromatic
#2D2D0C #5D5D19 #8D8D26 #BDBD33 #D3D35B

Accessibility & contrast

On white

3.52
#8D8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8D8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D26
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D26#FFFFFF#000000##000000
##8D8D261.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998713
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d26;
/* rgb */ color: rgb(141, 141, 38);
/* oklch */ color: oklch(62.4% 0.121 109.5);
Tailwind
colors: {
  custom: {
    50: '#b1ae68',
    500: '#8d8d26',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d26;
$custom-light: #b1ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d26",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62434,
    "c": 0.12128,
    "h": 109.5
  },
  "luminance": 0.24852
}

Semantic roles & 50–950 ramp

primary
#8D8D26
secondary
#5757B8
accent
#47E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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