#8C8A2E#8C8A2E

#8C8A2E 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#8C8A2E
RGBrgb(140, 138, 46)
HSLhsl(59, 51%, 36%)
HSVhsv(59, 67%, 55%)
CMYKcmyk(0%, 1.4%, 67.1%, 45.1%)
CIE-LABlab(56.04, -11.16, 47.54)
CIE-LCHlch(56.04, 48.83, 103.21°)
OKLaboklab(61.72% -0.035 0.1071)
OKLCHoklch(61.72% 0.113 108.1)
XYZxyz(20.3975, 23.9503, 6.1326)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A2E #2E308C
analogous
#8C5B2E #8C8A2E #5F8C2E
triadic
#8C8A2E #2E8C8A #8A2E8C
tetradic
#8C8A2E #2E8C5B #2E308C #8C2E5F
square
#8C8A2E #2E8C5B #2E308C #8C2E5F
split-complementary
#8C8A2E #2E5F8C #5B2E8C
monochromatic
#302F10 #5E5D1F #8C8A2E #BAB73D #CDCB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8A2E#FFFFFF#000000##000000
##8C8A2E1.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)
#958421
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#968177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a2e;
/* rgb */ color: rgb(140, 138, 46);
/* oklch */ color: oklch(61.7% 0.113 108.1);
Tailwind
colors: {
  custom: {
    50: '#b0ab6c',
    500: '#8c8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a2e;
$custom-light: #b0ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a2e",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 58.723,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61718,
    "c": 0.11266,
    "h": 108.1
  },
  "luminance": 0.2395
}

Semantic roles & 50–950 ramp

primary
#8C8A2E
secondary
#6264B4
accent
#51DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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