#8CA528#8CA528

#8CA528 is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 68.0% C 0.148 H 120.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8CA528
RGBrgb(140, 165, 40)
HSLhsl(72, 61%, 40%)
HSVhsv(72, 76%, 65%)
CMYKcmyk(15.2%, 0%, 75.8%, 35.3%)
CIE-LABlab(63.87, -25.38, 57.55)
CIE-LCHlch(63.87, 62.90, 113.80°)
OKLaboklab(67.99% -0.0751 0.1272)
OKLCHoklch(67.99% 0.148 120.6)
XYZxyz(24.6538, 32.6390, 7.0082)
Luminance0.3264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA528 #4128A5
analogous
#A57F28 #8CA528 #4DA528
triadic
#8CA528 #288CA5 #A5288C
tetradic
#8CA528 #28A57F #4128A5 #A5284D
square
#8CA528 #28A57F #4128A5 #A5284D
split-complementary
#8CA528 #284DA5 #7F28A5
monochromatic
#384210 #62741C #8CA528 #B2CF3B #C5DB6C

Accessibility & contrast

On white

2.79
#8CA528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#8CA528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA528
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA528#FFFFFF#000000##000000
##8CA5281.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0B
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#949C8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ca528;
/* rgb */ color: rgb(140, 165, 40);
/* oklch */ color: oklch(68.0% 0.148 120.6);
Tailwind
colors: {
  custom: {
    50: '#b1bf6c',
    500: '#8ca528',
    950: '#000000',
  },
}
SCSS
$custom: #8ca528;
$custom-light: #b1bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca528",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 72,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67986,
    "c": 0.1477,
    "h": 120.6
  },
  "luminance": 0.32639
}

Semantic roles & 50–950 ramp

primary
#8CA528
secondary
#7967C2
accent
#44E464
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA528

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

Preview Lab → · Contrast checker → · Palette generator →

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