#6CAF28#6CAF28

#6CAF28 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.4% C 0.176 H 132.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6CAF28
RGBrgb(108, 175, 40)
HSLhsl(90, 63%, 42%)
HSVhsv(90, 77%, 69%)
CMYKcmyk(38.3%, 0%, 77.1%, 31.4%)
CIE-LABlab(64.96, -42.46, 57.91)
CIE-LCHlch(64.96, 71.81, 126.25°)
OKLaboklab(68.37% -0.1197 0.1287)
OKLCHoklch(68.37% 0.176 132.9)
XYZxyz(21.8970, 34.0003, 7.4160)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CAF28 #6B28AF
analogous
#AFAF28 #6CAF28 #28AF28
triadic
#6CAF28 #286CAF #AF286C
tetradic
#6CAF28 #28AFAF #6B28AF #AF2828
square
#6CAF28 #28AFAF #6B28AF #AF2828
split-complementary
#6CAF28 #2828AF #AF28AF
monochromatic
#2F4B11 #4D7D1D #6CAF28 #8BD441 #A9DF73

Accessibility & contrast

On white

2.69
#6CAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#6CAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CAF28
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CAF28#FFFFFF#000000##000000
##6CAF281.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A104
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#6DA896
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #6caf28;
/* rgb */ color: rgb(108, 175, 40);
/* oklch */ color: oklch(68.4% 0.176 132.9);
Tailwind
colors: {
  custom: {
    50: '#9cc76d',
    500: '#6caf28',
    950: '#000000',
  },
}
SCSS
$custom: #6caf28;
$custom-light: #9cc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#6caf28",
  "rgb": {
    "r": 108,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 89.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68373,
    "c": 0.17577,
    "h": 132.9
  },
  "luminance": 0.34001
}

Semantic roles & 50–950 ramp

primary
#6CAF28
secondary
#996DC6
accent
#42E693
background
#FAFCF6
surface
#F3F8EC
border
#CDD1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #6CAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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