#6CA821#6CA821

#6CA821 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.6% C 0.171 H 131.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6CA821
RGBrgb(108, 168, 33)
HSLhsl(87, 67%, 39%)
HSVhsv(87, 80%, 66%)
CMYKcmyk(35.7%, 0%, 80.4%, 34.1%)
CIE-LABlab(62.76, -39.83, 58.02)
CIE-LCHlch(62.76, 70.38, 124.47°)
OKLaboklab(66.56% -0.1131 0.1279)
OKLCHoklch(66.56% 0.171 131.5)
XYZxyz(20.4613, 31.3024, 6.4024)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA821 #5D21A8
analogous
#A8A121 #6CA821 #28A821
triadic
#6CA821 #216CA8 #A8216C
tetradic
#6CA821 #21A8A1 #5D21A8 #A82128
square
#6CA821 #21A8A1 #5D21A8 #A82128
split-complementary
#6CA821 #2128A8 #A121A8
monochromatic
#2A420D #4B7517 #6CA821 #8CD630 #A9E063

Accessibility & contrast

On white

2.89
#6CA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#6CA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CA821
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA821#FFFFFF#000000##000000
##6CA8211.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#6EA18F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6ca821;
/* rgb */ color: rgb(108, 168, 33);
/* oklch */ color: oklch(66.6% 0.171 131.5);
Tailwind
colors: {
  custom: {
    50: '#9bc269',
    500: '#6ca821',
    950: '#000000',
  },
}
SCSS
$custom: #6ca821;
$custom-light: #9bc269;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca821",
  "rgb": {
    "r": 108,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 86.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66563,
    "c": 0.17068,
    "h": 131.5
  },
  "luminance": 0.31303
}

Semantic roles & 50–950 ramp

primary
#6CA821
secondary
#8D5FC5
accent
#3EEA8A
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6CA821

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

Preview Lab → · Contrast checker → · Palette generator →

#6CA821 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva