#8C8A2D#8C8A2D

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

Color values

HEX#8C8A2D
RGBrgb(140, 138, 45)
HSLhsl(59, 51%, 36%)
HSVhsv(59, 68%, 55%)
CMYKcmyk(0%, 1.4%, 67.9%, 45.1%)
CIE-LABlab(56.03, -11.22, 47.96)
CIE-LCHlch(56.03, 49.25, 103.17°)
OKLaboklab(61.71% -0.0352 0.1078)
OKLCHoklch(61.71% 0.113 108.1)
XYZxyz(20.3781, 23.9425, 6.0300)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A2D #2D2F8C
analogous
#8C5B2D #8C8A2D #5F8C2D
triadic
#8C8A2D #2D8C8A #8A2D8C
tetradic
#8C8A2D #2D8C5B #2D2F8C #8C2D5F
square
#8C8A2D #2D8C5B #2D2F8C #8C2D5F
split-complementary
#8C8A2D #2D5F8C #5B2D8C
monochromatic
#2F2F0F #5E5C1E #8C8A2D #BAB83C #CECC66

Accessibility & contrast

On white

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

On black

5.79
#8C8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A2D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A2D#FFFFFF#000000##000000
##8C8A2D1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958420
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#968177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a2d;
/* rgb */ color: rgb(140, 138, 45);
/* oklch */ color: oklch(61.7% 0.113 108.1);
Tailwind
colors: {
  custom: {
    50: '#b0ab6b',
    500: '#8c8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a2d;
$custom-light: #b0ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a2d",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 58.737,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61709,
    "c": 0.11343,
    "h": 108.1
  },
  "luminance": 0.23942
}

Semantic roles & 50–950 ramp

primary
#8C8A2D
secondary
#6062B4
accent
#50DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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