#8C8124#8C8124

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

Color values

HEX#8C8124
RGBrgb(140, 129, 36)
HSLhsl(54, 59%, 35%)
HSVhsv(54, 74%, 55%)
CMYKcmyk(0%, 7.9%, 74.3%, 45.1%)
CIE-LABlab(53.39, -6.82, 48.98)
CIE-LCHlch(53.39, 49.46, 97.92°)
OKLaboklab(59.59% -0.0238 0.1083)
OKLCHoklch(59.59% 0.111 102.4)
XYZxyz(18.9848, 21.4042, 4.8001)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8124 #242F8C
analogous
#8C4D24 #8C8124 #638C24
triadic
#8C8124 #248C81 #81248C
tetradic
#8C8124 #248C4D #242F8C #8C2463
square
#8C8124 #248C4D #242F8C #8C2463
split-complementary
#8C8124 #24638C #4D248C
monochromatic
#2B270B #5B5417 #8C8124 #BDAE31 #D4C657

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8124#FFFFFF#000000##000000
##8C81241.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)
#8D7D14
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#97786F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c8124;
/* rgb */ color: rgb(140, 129, 36);
/* oklch */ color: oklch(59.6% 0.111 102.4);
Tailwind
colors: {
  custom: {
    50: '#b1a566',
    500: '#8c8124',
    950: '#000000',
  },
}
SCSS
$custom: #8c8124;
$custom-light: #b1a566;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8124",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 53.654,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59585,
    "c": 0.11093,
    "h": 102.4
  },
  "luminance": 0.21403
}

Semantic roles & 50–950 ramp

primary
#8C8124
secondary
#545EB8
accent
#56E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C8124

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

Preview Lab → · Contrast checker → · Palette generator →

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