#8C8B2C#8C8B2C

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

Color values

HEX#8C8B2C
RGBrgb(140, 139, 44)
HSLhsl(59, 52%, 36%)
HSVhsv(59, 69%, 55%)
CMYKcmyk(0%, 0.7%, 68.6%, 45.1%)
CIE-LABlab(56.31, -11.81, 48.66)
CIE-LCHlch(56.31, 50.07, 103.65°)
OKLaboklab(61.93% -0.037 0.1091)
OKLCHoklch(61.93% 0.115 108.7)
XYZxyz(20.5032, 24.2232, 5.9779)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8B2C #2C2D8C
analogous
#8C5B2C #8C8B2C #5D8C2C
triadic
#8C8B2C #2C8C8B #8B2C8C
tetradic
#8C8B2C #2C8C5B #2C2D8C #8C2C5D
square
#8C8B2C #2C8C5B #2C2D8C #8C2C5D
split-complementary
#8C8B2C #2C5D8C #5B2C8C
monochromatic
#2F2F0F #5D5D1D #8C8B2C #BBB93B #CECD64

Accessibility & contrast

On white

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

On black

5.84
#8C8B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8B2C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8B2C#FFFFFF#000000##000000
##8C8B2C1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851E
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#968278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c8b2c;
/* rgb */ color: rgb(140, 139, 44);
/* oklch */ color: oklch(61.9% 0.115 108.7);
Tailwind
colors: {
  custom: {
    50: '#b0ac6b',
    500: '#8c8b2c',
    950: '#000000',
  },
}
SCSS
$custom: #8c8b2c;
$custom-light: #b0ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8b2c",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 59.375,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6193,
    "c": 0.11524,
    "h": 108.7
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#8C8B2C
secondary
#5F60B5
accent
#4EDC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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