#8C8122#8C8122

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

Color values

HEX#8C8122
RGBrgb(140, 129, 34)
HSLhsl(54, 61%, 34%)
HSVhsv(54, 76%, 55%)
CMYKcmyk(0%, 7.9%, 75.7%, 45.1%)
CIE-LABlab(53.38, -6.91, 49.74)
CIE-LCHlch(53.38, 50.22, 97.91°)
OKLaboklab(59.57% -0.0243 0.1095)
OKLCHoklch(59.57% 0.112 102.5)
XYZxyz(18.9551, 21.3923, 4.6437)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8122 #222D8C
analogous
#8C4C22 #8C8122 #628C22
triadic
#8C8122 #228C81 #81228C
tetradic
#8C8122 #228C4C #222D8C #8C2262
square
#8C8122 #228C4C #222D8C #8C2262
split-complementary
#8C8122 #22628C #4C228C
monochromatic
#2A260A #5B5416 #8C8122 #BDAE2E #D5C853

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8122#FFFFFF#000000##000000
##8C81221.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)
#8D7D10
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#97776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c8122;
/* rgb */ color: rgb(140, 129, 34);
/* oklch */ color: oklch(59.6% 0.112 102.5);
Tailwind
colors: {
  custom: {
    50: '#b1a565',
    500: '#8c8122',
    950: '#000000',
  },
}
SCSS
$custom: #8c8122;
$custom-light: #b1a565;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8122",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 53.774,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.1122,
    "h": 102.5
  },
  "luminance": 0.21391
}

Semantic roles & 50–950 ramp

primary
#8C8122
secondary
#515CB9
accent
#54E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C8122

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

Preview Lab → · Contrast checker → · Palette generator →

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