#6CA822#6CA822

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

Color values

HEX#6CA822
RGBrgb(108, 168, 34)
HSLhsl(87, 66%, 40%)
HSVhsv(87, 80%, 66%)
CMYKcmyk(35.7%, 0%, 79.8%, 34.1%)
CIE-LABlab(62.77, -39.78, 57.73)
CIE-LCHlch(62.77, 70.11, 124.57°)
OKLaboklab(66.57% -0.1129 0.1274)
OKLCHoklch(66.57% 0.17 131.5)
XYZxyz(20.4755, 31.3081, 6.4773)
Luminance0.3131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA822 #5E22A8
analogous
#A8A122 #6CA822 #29A822
triadic
#6CA822 #226CA8 #A8226C
tetradic
#6CA822 #22A8A1 #5E22A8 #A82229
square
#6CA822 #22A8A1 #5E22A8 #A82229
split-complementary
#6CA822 #2229A8 #A122A8
monochromatic
#2B420D #4B7518 #6CA822 #8CD532 #A9E065

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6CA822#FFFFFF#000000##000000
##6CA8221.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)
#A79631
Tritanopia (blue-blind)
#6EA18F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6ca822;
/* rgb */ color: rgb(108, 168, 34);
/* oklch */ color: oklch(66.6% 0.170 131.5);
Tailwind
colors: {
  custom: {
    50: '#9bc269',
    500: '#6ca822',
    950: '#000000',
  },
}
SCSS
$custom: #6ca822;
$custom-light: #9bc269;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca822",
  "rgb": {
    "r": 108,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 86.866,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66568,
    "c": 0.1702,
    "h": 131.5
  },
  "luminance": 0.31309
}

Semantic roles & 50–950 ramp

primary
#6CA822
secondary
#8E61C5
accent
#3FE98B
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6CA822

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

Preview Lab → · Contrast checker → · Palette generator →

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