#8C8120#8C8120

#8C8120 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.113 H 102.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8C8120
RGBrgb(140, 129, 32)
HSLhsl(54, 63%, 34%)
HSVhsv(54, 77%, 55%)
CMYKcmyk(0%, 7.9%, 77.1%, 45.1%)
CIE-LABlab(53.36, -7.00, 50.46)
CIE-LCHlch(53.36, 50.95, 97.90°)
OKLaboklab(59.56% -0.0248 0.1107)
OKLCHoklch(59.56% 0.113 102.6)
XYZxyz(18.9270, 21.3811, 4.4962)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8120 #202B8C
analogous
#8C4B20 #8C8120 #618C20
triadic
#8C8120 #208C81 #81208C
tetradic
#8C8120 #208C4B #202B8C #8C2061
square
#8C8120 #208C4B #202B8C #8C2061
split-complementary
#8C8120 #20618C #4B208C
monochromatic
#282509 #5A5315 #8C8120 #BEAF2B #D7C950

Accessibility & contrast

On white

3.98
#8C8120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8C8120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8120
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8120#FFFFFF#000000##000000
##8C81201.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0C
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#97776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c8120;
/* rgb */ color: rgb(140, 129, 32);
/* oklch */ color: oklch(59.6% 0.113 102.6);
Tailwind
colors: {
  custom: {
    50: '#b1a564',
    500: '#8c8120',
    950: '#000000',
  },
}
SCSS
$custom: #8c8120;
$custom-light: #b1a564;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8120",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 53.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59558,
    "c": 0.11342,
    "h": 102.6
  },
  "luminance": 0.2138
}

Semantic roles & 50–950 ramp

primary
#8C8120
secondary
#4E59BA
accent
#53E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C8120

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

Preview Lab → · Contrast checker → · Palette generator →

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