#8C8D29#8C8D29

#8C8D29 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.120 H 110.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8C8D29
RGBrgb(140, 141, 41)
HSLhsl(61, 55%, 36%)
HSVhsv(61, 71%, 55%)
CMYKcmyk(0.7%, 0%, 70.9%, 44.7%)
CIE-LABlab(56.87, -13.05, 50.43)
CIE-LCHlch(56.87, 52.09, 104.51°)
OKLaboklab(62.37% -0.0408 0.1123)
OKLCHoklch(62.37% 0.12 110)
XYZxyz(20.7410, 24.7859, 5.7890)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D29 #2A298D
analogous
#8D5C29 #8C8D29 #5A8D29
triadic
#8C8D29 #298C8D #8D298C
tetradic
#8C8D29 #298D5C #2A298D #8D295A
square
#8C8D29 #298D5C #2A298D #8D295A
split-complementary
#8C8D29 #295A8D #5C298D
monochromatic
#2E2E0D #5D5E1B #8C8D29 #BBBC37 #D0D160

Accessibility & contrast

On white

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

On black

5.96
#8C8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8D29
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8D29#FFFFFF#000000##000000
##8C8D291.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988719
Deuteranopia (green-blind)
#998A30
Tritanopia (blue-blind)
#968479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8c8d29;
/* rgb */ color: rgb(140, 141, 41);
/* oklch */ color: oklch(62.4% 0.120 110.0);
Tailwind
colors: {
  custom: {
    50: '#b1ae6a',
    500: '#8c8d29',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d29;
$custom-light: #b1ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d29",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 60.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62367,
    "c": 0.11951,
    "h": 110
  },
  "luminance": 0.24785
}

Semantic roles & 50–950 ramp

primary
#8C8D29
secondary
#5C5BB6
accent
#4ADE4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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