#8C8024#8C8024

#8C8024 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.110 H 101.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8C8024
RGBrgb(140, 128, 36)
HSLhsl(53, 59%, 35%)
HSVhsv(53, 74%, 55%)
CMYKcmyk(0%, 8.6%, 74.3%, 45.1%)
CIE-LABlab(53.10, -6.26, 48.71)
CIE-LCHlch(53.10, 49.11, 97.33°)
OKLaboklab(59.36% -0.0223 0.1078)
OKLCHoklch(59.36% 0.11 101.7)
XYZxyz(18.8537, 21.1420, 4.7564)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8024 #24308C
analogous
#8C4C24 #8C8024 #648C24
triadic
#8C8024 #248C80 #80248C
tetradic
#8C8024 #248C4C #24308C #8C2464
square
#8C8024 #248C4C #24308C #8C2464
split-complementary
#8C8024 #24648C #4C248C
monochromatic
#2B270B #5B5317 #8C8024 #BDAD31 #D4C557

Accessibility & contrast

On white

4.02
#8C8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8C8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8024
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8024#FFFFFF#000000##000000
##8C80241.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C14
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#97776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c8024;
/* rgb */ color: rgb(140, 128, 36);
/* oklch */ color: oklch(59.4% 0.110 101.7);
Tailwind
colors: {
  custom: {
    50: '#b1a466',
    500: '#8c8024',
    950: '#000000',
  },
}
SCSS
$custom: #8c8024;
$custom-light: #b1a466;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8024",
  "rgb": {
    "r": 140,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 53.077,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59359,
    "c": 0.11003,
    "h": 101.7
  },
  "luminance": 0.21141
}

Semantic roles & 50–950 ramp

primary
#8C8024
secondary
#545FB8
accent
#58E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C8024

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

Preview Lab → · Contrast checker → · Palette generator →

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