#8C8B2D#8C8B2D

#8C8B2D is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.114 H 108.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8C8B2D
RGBrgb(140, 139, 45)
HSLhsl(59, 51%, 36%)
HSVhsv(59, 68%, 55%)
CMYKcmyk(0%, 0.7%, 67.9%, 45.1%)
CIE-LABlab(56.32, -11.75, 48.25)
CIE-LCHlch(56.32, 49.66, 103.69°)
OKLaboklab(61.94% -0.0368 0.1084)
OKLCHoklch(61.94% 0.114 108.7)
XYZxyz(20.5222, 24.2308, 6.0781)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8B2D #2D2E8C
analogous
#8C5C2D #8C8B2D #5E8C2D
triadic
#8C8B2D #2D8C8B #8B2D8C
tetradic
#8C8B2D #2D8C5C #2D2E8C #8C2D5E
square
#8C8B2D #2D8C5C #2D2E8C #8C2D5E
split-complementary
#8C8B2D #2D5E8C #5C2D8C
monochromatic
#2F2F0F #5E5D1E #8C8B2D #BAB93C #CECD66

Accessibility & contrast

On white

3.59
#8C8B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8C8B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8B2D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8B2D#FFFFFF#000000##000000
##8C8B2D1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968520
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#968278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c8b2d;
/* rgb */ color: rgb(140, 139, 45);
/* oklch */ color: oklch(61.9% 0.114 108.7);
Tailwind
colors: {
  custom: {
    50: '#b0ac6c',
    500: '#8c8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #8c8b2d;
$custom-light: #b0ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8b2d",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 59.368,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61939,
    "c": 0.11449,
    "h": 108.7
  },
  "luminance": 0.2423
}

Semantic roles & 50–950 ramp

primary
#8C8B2D
secondary
#6061B4
accent
#4EDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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