#6CA228#6CA228

#6CA228 is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 65.1% C 0.160 H 130.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6CA228
RGBrgb(108, 162, 40)
HSLhsl(87, 60%, 40%)
HSVhsv(87, 75%, 64%)
CMYKcmyk(33.3%, 0%, 75.3%, 36.5%)
CIE-LABlab(60.94, -36.81, 54.04)
CIE-LCHlch(60.94, 65.39, 124.26°)
OKLaboklab(65.09% -0.1044 0.1206)
OKLCHoklch(65.09% 0.16 130.9)
XYZxyz(19.4875, 29.1813, 6.6129)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA228 #5E28A2
analogous
#A29B28 #6CA228 #2FA228
triadic
#6CA228 #286CA2 #A2286C
tetradic
#6CA228 #28A29B #5E28A2 #A2282F
square
#6CA228 #28A29B #5E28A2 #A2282F
split-complementary
#6CA228 #282FA2 #9B28A2
monochromatic
#2B4010 #4B711C #6CA228 #8CCE39 #A9DA6A

Accessibility & contrast

On white

3.07
#6CA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#6CA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6CA228
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA228#FFFFFF#000000##000000
##6CA2281.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9960E
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#6E9B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6ca228;
/* rgb */ color: rgb(108, 162, 40);
/* oklch */ color: oklch(65.1% 0.160 130.9);
Tailwind
colors: {
  custom: {
    50: '#9bbe6b',
    500: '#6ca228',
    950: '#000000',
  },
}
SCSS
$custom: #6ca228;
$custom-light: #9bbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca228",
  "rgb": {
    "r": 108,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 86.557,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65089,
    "c": 0.15952,
    "h": 130.9
  },
  "luminance": 0.29182
}

Semantic roles & 50–950 ramp

primary
#6CA228
secondary
#8E65C1
accent
#44E48B
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6CA228

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

Preview Lab → · Contrast checker → · Palette generator →

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