#6CAF2A#6CAF2A

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

Color values

HEX#6CAF2A
RGBrgb(108, 175, 42)
HSLhsl(90, 61%, 43%)
HSVhsv(90, 76%, 69%)
CMYKcmyk(38.3%, 0%, 76%, 31.4%)
CIE-LABlab(64.97, -42.35, 57.26)
CIE-LCHlch(64.97, 71.22, 126.48°)
OKLaboklab(68.38% -0.1193 0.1277)
OKLCHoklch(68.38% 0.175 133.1)
XYZxyz(21.9319, 34.0142, 7.5999)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CAF2A #6D2AAF
analogous
#AEAF2A #6CAF2A #2AAF2B
triadic
#6CAF2A #2A6CAF #AF2A6C
tetradic
#6CAF2A #2AAEAF #6D2AAF #AF2B2A
square
#6CAF2A #2AAEAF #6D2AAF #AF2B2A
split-complementary
#6CAF2A #2B2AAF #AF2AAE
monochromatic
#2F4C12 #4E7E1E #6CAF2A #8BD244 #A9DE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6CAF2A#FFFFFF#000000##000000
##6CAF2A1.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)
#B6A10A
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#6CA896
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #6caf2a;
/* rgb */ color: rgb(108, 175, 42);
/* oklch */ color: oklch(68.4% 0.175 133.1);
Tailwind
colors: {
  custom: {
    50: '#9cc76e',
    500: '#6caf2a',
    950: '#000000',
  },
}
SCSS
$custom: #6caf2a;
$custom-light: #9cc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#6caf2a",
  "rgb": {
    "r": 108,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 90.226,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68385,
    "c": 0.17469,
    "h": 133.1
  },
  "luminance": 0.34015
}

Semantic roles & 50–950 ramp

primary
#6CAF2A
secondary
#9B6FC6
accent
#43E495
background
#FAFCF6
surface
#F3F8EC
border
#CDD1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #6CAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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