#8C8A2C#8C8A2C

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

Color values

HEX#8C8A2C
RGBrgb(140, 138, 44)
HSLhsl(59, 52%, 36%)
HSVhsv(59, 69%, 55%)
CMYKcmyk(0%, 1.4%, 68.6%, 45.1%)
CIE-LABlab(56.02, -11.28, 48.37)
CIE-LCHlch(56.02, 49.66, 103.13°)
OKLaboklab(61.7% -0.0355 0.1085)
OKLCHoklch(61.7% 0.114 108.1)
XYZxyz(20.3590, 23.9349, 5.9298)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A2C #2C2E8C
analogous
#8C5A2C #8C8A2C #5E8C2C
triadic
#8C8A2C #2C8C8A #8A2C8C
tetradic
#8C8A2C #2C8C5A #2C2E8C #8C2C5E
square
#8C8A2C #2C8C5A #2C2E8C #8C2C5E
split-complementary
#8C8A2C #2C5E8C #5A2C8C
monochromatic
#2F2E0F #5D5C1D #8C8A2C #BBB83B #CECC64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8A2C#FFFFFF#000000##000000
##8C8A2C1.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)
#95841E
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#968177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a2c;
/* rgb */ color: rgb(140, 138, 44);
/* oklch */ color: oklch(61.7% 0.114 108.1);
Tailwind
colors: {
  custom: {
    50: '#b0ab6b',
    500: '#8c8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a2c;
$custom-light: #b0ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a2c",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 58.75,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.617,
    "c": 0.11418,
    "h": 108.1
  },
  "luminance": 0.23934
}

Semantic roles & 50–950 ramp

primary
#8C8A2C
secondary
#5F61B5
accent
#4FDC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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