#8C8A24#8C8A24

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

Color values

HEX#8C8A24
RGBrgb(140, 138, 36)
HSLhsl(59, 59%, 35%)
HSVhsv(59, 74%, 55%)
CMYKcmyk(0%, 1.4%, 74.3%, 45.1%)
CIE-LABlab(55.97, -11.71, 51.46)
CIE-LCHlch(55.97, 52.78, 102.82°)
OKLaboklab(61.64% -0.0376 0.1136)
OKLCHoklch(61.64% 0.12 108.3)
XYZxyz(20.2229, 23.8804, 5.2128)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A24 #24268C
analogous
#8C5624 #8C8A24 #5A8C24
triadic
#8C8A24 #248C8A #8A248C
tetradic
#8C8A24 #248C56 #24268C #8C245A
square
#8C8A24 #248C56 #24268C #8C245A
split-complementary
#8C8A24 #245A8C #56248C
monochromatic
#2B2A0B #5B5A17 #8C8A24 #BDBA31 #D4D157

Accessibility & contrast

On white

3.64
#8C8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8A24#FFFFFF#000000##000000
##8C8A241.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968410
Deuteranopia (green-blind)
#97882C
Tritanopia (blue-blind)
#968176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a24;
/* rgb */ color: rgb(140, 138, 36);
/* oklch */ color: oklch(61.6% 0.120 108.3);
Tailwind
colors: {
  custom: {
    50: '#b1ab67',
    500: '#8c8a24',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a24;
$custom-light: #b1ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a24",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 58.846,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61639,
    "c": 0.11964,
    "h": 108.3
  },
  "luminance": 0.2388
}

Semantic roles & 50–950 ramp

primary
#8C8A24
secondary
#5456B8
accent
#49E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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