#8C8A26#8C8A26

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

Color values

HEX#8C8A26
RGBrgb(140, 138, 38)
HSLhsl(59, 57%, 35%)
HSVhsv(59, 73%, 55%)
CMYKcmyk(0%, 1.4%, 72.9%, 45.1%)
CIE-LABlab(55.98, -11.61, 50.72)
CIE-LCHlch(55.98, 52.03, 102.89°)
OKLaboklab(61.65% -0.0371 0.1124)
OKLCHoklch(61.65% 0.118 108.3)
XYZxyz(20.2543, 23.8930, 5.3782)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A26 #26288C
analogous
#8C5726 #8C8A26 #5B8C26
triadic
#8C8A26 #268C8A #8A268C
tetradic
#8C8A26 #268C57 #26288C #8C265B
square
#8C8A26 #268C57 #26288C #8C265B
split-complementary
#8C8A26 #265B8C #57268C
monochromatic
#2C2B0C #5C5B19 #8C8A26 #BCB933 #D2D05A

Accessibility & contrast

On white

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

On black

5.78
#8C8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A26
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A26#FFFFFF#000000##000000
##8C8A261.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968414
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#968177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a26;
/* rgb */ color: rgb(140, 138, 38);
/* oklch */ color: oklch(61.7% 0.118 108.3);
Tailwind
colors: {
  custom: {
    50: '#b1ab68',
    500: '#8c8a26',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a26;
$custom-light: #b1ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a26",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 58.824,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61653,
    "c": 0.11836,
    "h": 108.3
  },
  "luminance": 0.23892
}

Semantic roles & 50–950 ramp

primary
#8C8A26
secondary
#5759B7
accent
#4AE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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