#8CA522#8CA522

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

Color values

HEX#8CA522
RGBrgb(140, 165, 34)
HSLhsl(71, 66%, 39%)
HSVhsv(71, 79%, 65%)
CMYKcmyk(15.2%, 0%, 79.4%, 35.3%)
CIE-LABlab(63.84, -25.66, 59.44)
CIE-LCHlch(63.84, 64.74, 113.35°)
OKLaboklab(67.95% -0.0764 0.1301)
OKLCHoklch(67.95% 0.151 120.4)
XYZxyz(24.5596, 32.6013, 6.5119)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA522 #3B22A5
analogous
#A57D22 #8CA522 #4BA522
triadic
#8CA522 #228CA5 #A5228C
tetradic
#8CA522 #22A57D #3B22A5 #A5224B
square
#8CA522 #22A57D #3B22A5 #A5224B
split-complementary
#8CA522 #224BA5 #7D22A5
monochromatic
#36400D #617218 #8CA522 #B5D430 #C7DF63

Accessibility & contrast

On white

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

On black

7.52
#8CA522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA522
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA522#FFFFFF#000000##000000
##8CA5221.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ca522;
/* rgb */ color: rgb(140, 165, 34);
/* oklch */ color: oklch(68.0% 0.151 120.4);
Tailwind
colors: {
  custom: {
    50: '#b1bf69',
    500: '#8ca522',
    950: '#000000',
  },
}
SCSS
$custom: #8ca522;
$custom-light: #b1bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca522",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 71.45,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67951,
    "c": 0.15088,
    "h": 120.4
  },
  "luminance": 0.32601
}

Semantic roles & 50–950 ramp

primary
#8CA522
secondary
#725FC4
accent
#3FE95F
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA522

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

Preview Lab → · Contrast checker → · Palette generator →

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