#8CA254#8CA254

#8CA254 is a light, moderate yellow-green. Relative luminance 0.321; OKLCH L 67.7% C 0.107 H 122.2°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8CA254
RGBrgb(140, 162, 84)
HSLhsl(77, 32%, 48%)
HSVhsv(77, 48%, 64%)
CMYKcmyk(13.6%, 0%, 48.1%, 36.5%)
CIE-LABlab(63.39, -20.41, 37.80)
CIE-LCHlch(63.39, 42.95, 118.37°)
OKLaboklab(67.73% -0.0571 0.0906)
OKLCHoklch(67.73% 0.107 122.2)
XYZxyz(25.3358, 32.0562, 13.2385)
Luminance0.3206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA254 #6A54A2
analogous
#A29154 #8CA254 #65A254
triadic
#8CA254 #548CA2 #A2548C
tetradic
#8CA254 #54A291 #6A54A2 #A25465
square
#8CA254 #54A291 #6A54A2 #A25465
split-complementary
#8CA254 #5465A2 #9154A2
monochromatic
#46512A #697A3F #8CA254 #A8BA79 #C2CFA2

Accessibility & contrast

On white

2.83
#8CA254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#8CA254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA254
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA254#FFFFFF#000000##000000
##8CA2541.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A4D
Deuteranopia (green-blind)
#A79958
Tritanopia (blue-blind)
#929B90
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ca254;
/* rgb */ color: rgb(140, 162, 84);
/* oklch */ color: oklch(67.7% 0.107 122.2);
Tailwind
colors: {
  custom: {
    50: '#afbd86',
    500: '#8ca254',
    950: '#000000',
  },
}
SCSS
$custom: #8ca254;
$custom-light: #afbd86;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca254",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 84
  },
  "hsl": {
    "h": 76.923,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.67729,
    "c": 0.10707,
    "h": 122.2
  },
  "luminance": 0.32056
}

Semantic roles & 50–950 ramp

primary
#8CA254
secondary
#A196BC
accent
#60C87D
background
#FAFBF8
surface
#F5F6EF
border
#CFD0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #8CA254

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

Preview Lab → · Contrast checker → · Palette generator →

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