#6CA528#6CA528

#6CA528 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.8% C 0.163 H 131.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6CA528
RGBrgb(108, 165, 40)
HSLhsl(87, 61%, 40%)
HSVhsv(87, 76%, 65%)
CMYKcmyk(34.5%, 0%, 75.8%, 35.3%)
CIE-LABlab(61.87, -38.14, 54.94)
CIE-LCHlch(61.87, 66.88, 124.77°)
OKLaboklab(65.85% -0.108 0.1225)
OKLCHoklch(65.85% 0.163 131.4)
XYZxyz(20.0223, 30.2509, 6.7911)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA528 #6128A5
analogous
#A5A028 #6CA528 #2DA528
triadic
#6CA528 #286CA5 #A5286C
tetradic
#6CA528 #28A5A0 #6128A5 #A5282D
square
#6CA528 #28A5A0 #6128A5 #A5282D
split-complementary
#6CA528 #282DA5 #A028A5
monochromatic
#2C4210 #4C741C #6CA528 #8CCF3B #A9DB6C

Accessibility & contrast

On white

2.98
#6CA528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#6CA528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CA528
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA528#FFFFFF#000000##000000
##6CA5281.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980C
Deuteranopia (green-blind)
#A59434
Tritanopia (blue-blind)
#6E9E8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6ca528;
/* rgb */ color: rgb(108, 165, 40);
/* oklch */ color: oklch(65.8% 0.163 131.4);
Tailwind
colors: {
  custom: {
    50: '#9bc06b',
    500: '#6ca528',
    950: '#000000',
  },
}
SCSS
$custom: #6ca528;
$custom-light: #9bc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca528",
  "rgb": {
    "r": 108,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 87.36,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65846,
    "c": 0.16331,
    "h": 131.4
  },
  "luminance": 0.30252
}

Semantic roles & 50–950 ramp

primary
#6CA528
secondary
#9067C2
accent
#44E48D
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6CA528

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

Preview Lab → · Contrast checker → · Palette generator →

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