#6CA828#6CA828

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

Color values

HEX#6CA828
RGBrgb(108, 168, 40)
HSLhsl(88, 62%, 41%)
HSVhsv(88, 76%, 66%)
CMYKcmyk(35.7%, 0%, 76.2%, 34.1%)
CIE-LABlab(62.80, -39.46, 55.84)
CIE-LCHlch(62.80, 68.37, 125.24°)
OKLaboklab(66.6% -0.1116 0.1244)
OKLCHoklch(66.6% 0.167 131.9)
XYZxyz(20.5698, 31.3458, 6.9736)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA828 #6428A8
analogous
#A8A428 #6CA828 #2CA828
triadic
#6CA828 #286CA8 #A8286C
tetradic
#6CA828 #28A8A4 #6428A8 #A8282C
square
#6CA828 #28A8A4 #6428A8 #A8282C
split-complementary
#6CA828 #282CA8 #A428A8
monochromatic
#2C4510 #4C771C #6CA828 #8BD13D #A9DC6E

Accessibility & contrast

On white

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

On black

7.27
#6CA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CA828
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA828#FFFFFF#000000##000000
##6CA8281.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B0A
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#6EA190
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6ca828;
/* rgb */ color: rgb(108, 168, 40);
/* oklch */ color: oklch(66.6% 0.167 131.9);
Tailwind
colors: {
  custom: {
    50: '#9bc26c',
    500: '#6ca828',
    950: '#000000',
  },
}
SCSS
$custom: #6ca828;
$custom-light: #9bc26c;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca828",
  "rgb": {
    "r": 108,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 88.125,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66604,
    "c": 0.16708,
    "h": 131.9
  },
  "luminance": 0.31347
}

Semantic roles & 50–950 ramp

primary
#6CA828
secondary
#9369C3
accent
#43E58F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6CA828

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

Preview Lab → · Contrast checker → · Palette generator →

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