#8CA231#8CA231

#8CA231 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.3% C 0.138 H 119.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8CA231
RGBrgb(140, 162, 49)
HSLhsl(72, 54%, 41%)
HSVhsv(72, 70%, 64%)
CMYKcmyk(13.6%, 0%, 69.8%, 36.5%)
CIE-LABlab(63.04, -23.40, 53.46)
CIE-LCHlch(63.04, 58.36, 113.64°)
OKLaboklab(67.34% -0.0689 0.1201)
OKLCHoklch(67.34% 0.138 119.8)
XYZxyz(24.2903, 31.6380, 7.7322)
Luminance0.3164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA231 #4731A2
analogous
#A28031 #8CA231 #54A231
triadic
#8CA231 #318CA2 #A2318C
tetradic
#8CA231 #31A280 #4731A2 #A23154
square
#8CA231 #31A280 #4731A2 #A23154
split-complementary
#8CA231 #3154A2 #8031A2
monochromatic
#3B4415 #637323 #8CA231 #AFC848 #C4D677

Accessibility & contrast

On white

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

On black

7.33
#8CA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA231
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA231#FFFFFF#000000##000000
##8CA2311.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991F
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#94998C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ca231;
/* rgb */ color: rgb(140, 162, 49);
/* oklch */ color: oklch(67.3% 0.138 119.8);
Tailwind
colors: {
  custom: {
    50: '#b1bd70',
    500: '#8ca231',
    950: '#000000',
  },
}
SCSS
$custom: #8ca231;
$custom-light: #b1bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca231",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 71.681,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67339,
    "c": 0.1384,
    "h": 119.8
  },
  "luminance": 0.31638
}

Semantic roles & 50–950 ramp

primary
#8CA231
secondary
#8071BE
accent
#4BDD67
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA231

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

Preview Lab → · Contrast checker → · Palette generator →

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