#8C8E24#8C8E24

#8C8E24 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.124 H 110.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8C8E24
RGBrgb(140, 142, 36)
HSLhsl(61, 60%, 35%)
HSVhsv(61, 75%, 56%)
CMYKcmyk(1.4%, 0%, 74.6%, 44.3%)
CIE-LABlab(57.12, -13.84, 52.56)
CIE-LCHlch(57.12, 54.35, 104.76°)
OKLaboklab(62.56% -0.0435 0.1159)
OKLCHoklch(62.56% 0.124 110.6)
XYZxyz(20.8074, 25.0494, 5.4077)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E24 #26248E
analogous
#8E5B24 #8C8E24 #578E24
triadic
#8C8E24 #248C8E #8E248C
tetradic
#8C8E24 #248E5B #26248E #8E2457
square
#8C8E24 #248E5B #26248E #8E2457
split-complementary
#8C8E24 #24578E #5B248E
monochromatic
#2C2C0B #5C5D18 #8C8E24 #BCBF30 #D2D558

Accessibility & contrast

On white

3.49
#8C8E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8C8E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8E24
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8E24#FFFFFF#000000##000000
##8C8E241.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880E
Deuteranopia (green-blind)
#9A8B2C
Tritanopia (blue-blind)
#96857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8e24;
/* rgb */ color: rgb(140, 142, 36);
/* oklch */ color: oklch(62.6% 0.124 110.6);
Tailwind
colors: {
  custom: {
    50: '#b1ae67',
    500: '#8c8e24',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e24;
$custom-light: #b1ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e24",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 61.132,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62562,
    "c": 0.12381,
    "h": 110.6
  },
  "luminance": 0.25049
}

Semantic roles & 50–950 ramp

primary
#8C8E24
secondary
#5755B9
accent
#45E348
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8E24

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

Preview Lab → · Contrast checker → · Palette generator →

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