#8C8A29#8C8A29

#8C8A29 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.116 H 108.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8C8A29
RGBrgb(140, 138, 41)
HSLhsl(59, 55%, 35%)
HSVhsv(59, 71%, 55%)
CMYKcmyk(0%, 1.4%, 70.7%, 45.1%)
CIE-LABlab(56.00, -11.45, 49.57)
CIE-LCHlch(56.00, 50.88, 103.01°)
OKLaboklab(61.68% -0.0363 0.1105)
OKLCHoklch(61.68% 0.116 108.2)
XYZxyz(20.3047, 23.9131, 5.6435)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A29 #292B8C
analogous
#8C5829 #8C8A29 #5C8C29
triadic
#8C8A29 #298C8A #8A298C
tetradic
#8C8A29 #298C58 #292B8C #8C295C
square
#8C8A29 #298C58 #292B8C #8C295C
split-complementary
#8C8A29 #295C8C #58298C
monochromatic
#2D2D0D #5D5B1B #8C8A29 #BBB937 #D0CE5F

Accessibility & contrast

On white

3.63
#8C8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8C8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A29
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A29#FFFFFF#000000##000000
##8C8A291.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96841A
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#968177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a29;
/* rgb */ color: rgb(140, 138, 41);
/* oklch */ color: oklch(61.7% 0.116 108.2);
Tailwind
colors: {
  custom: {
    50: '#b1ab69',
    500: '#8c8a29',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a29;
$custom-light: #b1ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a29",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 58.788,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61676,
    "c": 0.11633,
    "h": 108.2
  },
  "luminance": 0.23913
}

Semantic roles & 50–950 ramp

primary
#8C8A29
secondary
#5B5DB6
accent
#4DDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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