#8CA223#8CA223

#8CA223 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 67.2% C 0.147 H 119.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8CA223
RGBrgb(140, 162, 35)
HSLhsl(70, 64%, 39%)
HSVhsv(70, 78%, 64%)
CMYKcmyk(13.6%, 0%, 78.4%, 36.5%)
CIE-LABlab(62.96, -24.14, 58.33)
CIE-LCHlch(62.96, 63.13, 112.48°)
OKLaboklab(67.25% -0.0721 0.1279)
OKLCHoklch(67.25% 0.147 119.4)
XYZxyz(24.0394, 31.5376, 6.4107)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA223 #3923A2
analogous
#A27823 #8CA223 #4CA223
triadic
#8CA223 #238CA2 #A2238C
tetradic
#8CA223 #23A278 #3923A2 #A2234C
square
#8CA223 #23A278 #3923A2 #A2234C
split-complementary
#8CA223 #234CA2 #7823A2
monochromatic
#353D0D #617018 #8CA223 #B6D230 #C8DD62

Accessibility & contrast

On white

2.87
#8CA223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#8CA223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA223
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA223#FFFFFF#000000##000000
##8CA2231.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AA992F
Tritanopia (blue-blind)
#95998A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca223;
/* rgb */ color: rgb(140, 162, 35);
/* oklch */ color: oklch(67.2% 0.147 119.4);
Tailwind
colors: {
  custom: {
    50: '#b1bd69',
    500: '#8ca223',
    950: '#000000',
  },
}
SCSS
$custom: #8ca223;
$custom-light: #b1bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca223",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 70.394,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67245,
    "c": 0.14687,
    "h": 119.4
  },
  "luminance": 0.31537
}

Semantic roles & 50–950 ramp

primary
#8CA223
secondary
#705EC2
accent
#40E75D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA223

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

Preview Lab → · Contrast checker → · Palette generator →

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