#8C8D26#8C8D26

#8C8D26 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.121 H 110.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8C8D26
RGBrgb(140, 141, 38)
HSLhsl(61, 58%, 35%)
HSVhsv(61, 73%, 55%)
CMYKcmyk(0.7%, 0%, 73%, 44.7%)
CIE-LABlab(56.85, -13.21, 51.56)
CIE-LCHlch(56.85, 53.23, 104.37°)
OKLaboklab(62.34% -0.0416 0.1142)
OKLCHoklch(62.34% 0.122 110)
XYZxyz(20.6907, 24.7657, 5.5237)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D26 #27268D
analogous
#8D5B26 #8C8D26 #588D26
triadic
#8C8D26 #268C8D #8D268C
tetradic
#8C8D26 #268D5B #27268D #8D2658
square
#8C8D26 #268D5B #27268D #8D2658
split-complementary
#8C8D26 #26588D #5B268D
monochromatic
#2C2D0C #5C5D19 #8C8D26 #BCBD33 #D2D35B

Accessibility & contrast

On white

3.53
#8C8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8C8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8D26
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8D26#FFFFFF#000000##000000
##8C8D261.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c8d26;
/* rgb */ color: rgb(140, 141, 38);
/* oklch */ color: oklch(62.3% 0.121 110.0);
Tailwind
colors: {
  custom: {
    50: '#b1ae68',
    500: '#8c8d26',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d26;
$custom-light: #b1ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d26",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 60.583,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62345,
    "c": 0.1215,
    "h": 110
  },
  "luminance": 0.24765
}

Semantic roles & 50–950 ramp

primary
#8C8D26
secondary
#5857B8
accent
#47E149
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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