#8CB268#8CB268

#8CB268 is a light, moderate yellow-green. Relative luminance 0.384; OKLCH L 71.8% C 0.109 H 130.9°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8CB268
RGBrgb(140, 178, 104)
HSLhsl(91, 32%, 55%)
HSVhsv(91, 42%, 70%)
CMYKcmyk(21.3%, 0%, 41.6%, 30.2%)
CIE-LABlab(68.33, -25.96, 33.69)
CIE-LCHlch(68.33, 42.53, 127.62°)
OKLaboklab(71.79% -0.0713 0.0825)
OKLCHoklch(71.79% 0.109 130.9)
XYZxyz(29.2339, 38.4152, 18.9687)
Luminance0.3842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB268 #8E68B2
analogous
#B1B268 #8CB268 #68B269
triadic
#8CB268 #688CB2 #B2688C
tetradic
#8CB268 #68B1B2 #8E68B2 #B26968
square
#8CB268 #68B1B2 #8E68B2 #B26968
split-complementary
#8CB268 #6968B2 #B268B1
monochromatic
#4F6A36 #6D924B #8CB268 #ABC791 #CADBB9

Accessibility & contrast

On white

2.42
#8CB268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#8CB268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB268
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB268#FFFFFF#000000##000000
##8CB2681.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A862
Deuteranopia (green-blind)
#B2A66C
Tritanopia (blue-blind)
#8EACA0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb268;
/* rgb */ color: rgb(140, 178, 104);
/* oklch */ color: oklch(71.8% 0.109 130.9);
Tailwind
colors: {
  custom: {
    50: '#afc994',
    500: '#8cb268',
    950: '#000000',
  },
}
SCSS
$custom: #8cb268;
$custom-light: #afc994;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb268",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 104
  },
  "hsl": {
    "h": 90.811,
    "s": 32.456,
    "l": 55.294
  },
  "oklch": {
    "l": 0.71789,
    "c": 0.10903,
    "h": 130.9
  },
  "luminance": 0.38416
}

Semantic roles & 50–950 ramp

primary
#8CB268
secondary
#BBABCA
accent
#5FC995
background
#FAFCF9
surface
#F5F8F1
border
#CFD1CB
text
#10130D
muted
#7F827E

Preview Lab

Preview with #8CB268

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

Preview Lab → · Contrast checker → · Palette generator →

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