#8CA252#8CA252

#8CA252 is a light, moderate yellow-green. Relative luminance 0.320; OKLCH L 67.7% C 0.109 H 122.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8CA252
RGBrgb(140, 162, 82)
HSLhsl(77, 33%, 48%)
HSVhsv(77, 49%, 64%)
CMYKcmyk(13.6%, 0%, 49.4%, 36.5%)
CIE-LABlab(63.36, -20.63, 38.78)
CIE-LCHlch(63.36, 43.92, 118.01°)
OKLaboklab(67.7% -0.0579 0.0926)
OKLCHoklch(67.7% 0.109 122)
XYZxyz(25.2586, 32.0253, 12.8318)
Luminance0.3202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA252 #6852A2
analogous
#A29052 #8CA252 #64A252
triadic
#8CA252 #528CA2 #A2528C
tetradic
#8CA252 #52A290 #6852A2 #A25264
square
#8CA252 #52A290 #6852A2 #A25264
split-complementary
#8CA252 #5264A2 #9052A2
monochromatic
#465129 #69793D #8CA252 #A8BA77 #C2CFA0

Accessibility & contrast

On white

2.84
#8CA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#8CA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA252
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA252#FFFFFF#000000##000000
##8CA2521.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A4B
Deuteranopia (green-blind)
#A79956
Tritanopia (blue-blind)
#929B8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ca252;
/* rgb */ color: rgb(140, 162, 82);
/* oklch */ color: oklch(67.7% 0.109 122.0);
Tailwind
colors: {
  custom: {
    50: '#afbd84',
    500: '#8ca252',
    950: '#000000',
  },
}
SCSS
$custom: #8ca252;
$custom-light: #afbd84;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca252",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 76.5,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.67701,
    "c": 0.1092,
    "h": 122
  },
  "luminance": 0.32025
}

Semantic roles & 50–950 ramp

primary
#8CA252
secondary
#9F94BC
accent
#5FC97C
background
#FAFBF8
surface
#F5F6EF
border
#CFD0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #8CA252

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

Preview Lab → · Contrast checker → · Palette generator →

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