#8C8129#8C8129

#8C8129 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.107 H 102.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8C8129
RGBrgb(140, 129, 41)
HSLhsl(53, 55%, 35%)
HSVhsv(53, 71%, 55%)
CMYKcmyk(0%, 7.9%, 70.7%, 45.1%)
CIE-LABlab(53.42, -6.55, 46.99)
CIE-LCHlch(53.42, 47.45, 97.93°)
OKLaboklab(59.62% -0.0225 0.1051)
OKLCHoklch(59.62% 0.107 102.1)
XYZxyz(19.0665, 21.4369, 5.2308)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8129 #29348C
analogous
#8C4F29 #8C8129 #658C29
triadic
#8C8129 #298C81 #81298C
tetradic
#8C8129 #298C4F #29348C #8C2965
square
#8C8129 #298C4F #29348C #8C2965
split-complementary
#8C8129 #29658C #4F298C
monochromatic
#2D2A0D #5D551B #8C8129 #BBAD37 #D0C45F

Accessibility & contrast

On white

3.97
#8C8129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8C8129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8129
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8129#FFFFFF#000000##000000
##8C81291.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1C
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#97786F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8c8129;
/* rgb */ color: rgb(140, 129, 41);
/* oklch */ color: oklch(59.6% 0.107 102.1);
Tailwind
colors: {
  custom: {
    50: '#b1a568',
    500: '#8c8129',
    950: '#000000',
  },
}
SCSS
$custom: #8c8129;
$custom-light: #b1a568;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8129",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 53.333,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.10745,
    "h": 102.1
  },
  "luminance": 0.21436
}

Semantic roles & 50–950 ramp

primary
#8C8129
secondary
#5B65B6
accent
#5ADE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C8129

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

Preview Lab → · Contrast checker → · Palette generator →

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