#6EA42A#6EA42A

#6EA42A is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.7% C 0.160 H 130.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#6EA42A
RGBrgb(110, 164, 42)
HSLhsl(87, 59%, 40%)
HSVhsv(87, 74%, 64%)
CMYKcmyk(32.9%, 0%, 74.4%, 35.7%)
CIE-LABlab(61.68, -36.83, 54.10)
CIE-LCHlch(61.68, 65.44, 124.25°)
OKLaboklab(65.73% -0.1044 0.121)
OKLCHoklch(65.73% 0.16 130.8)
XYZxyz(20.1236, 30.0324, 6.9266)
Luminance0.3003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6EA42A #602AA4
analogous
#A49D2A #6EA42A #31A42A
triadic
#6EA42A #2A6EA4 #A42A6E
tetradic
#6EA42A #2AA49D #602AA4 #A42A31
square
#6EA42A #2AA49D #602AA4 #A42A31
split-complementary
#6EA42A #2A31A4 #9D2AA4
monochromatic
#2D4311 #4D731E #6EA42A #8ECD3E #AADA6E

Accessibility & contrast

On white

3.00
#6EA42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#6EA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6EA42A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6EA42A#FFFFFF#000000##000000
##6EA42A1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9812
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#709D8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6ea42a;
/* rgb */ color: rgb(110, 164, 42);
/* oklch */ color: oklch(65.7% 0.160 130.8);
Tailwind
colors: {
  custom: {
    50: '#9cbf6c',
    500: '#6ea42a',
    950: '#000000',
  },
}
SCSS
$custom: #6ea42a;
$custom-light: #9cbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6ea42a",
  "rgb": {
    "r": 110,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 86.557,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65726,
    "c": 0.15982,
    "h": 130.8
  },
  "luminance": 0.30033
}

Semantic roles & 50–950 ramp

primary
#6EA42A
secondary
#9069C1
accent
#45E28B
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6EA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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