#42AA25#42AA25

#42AA25 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.2% C 0.191 H 140.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#42AA25
RGBrgb(66, 170, 37)
HSLhsl(107, 64%, 41%)
HSVhsv(107, 78%, 67%)
CMYKcmyk(61.2%, 0%, 78.2%, 33.3%)
CIE-LABlab(61.69, -53.40, 55.16)
CIE-LCHlch(61.69, 76.78, 134.07°)
OKLaboklab(65.21% -0.1466 0.1232)
OKLCHoklch(65.21% 0.191 140)
XYZxyz(16.9547, 30.0397, 6.6547)
Luminance0.3004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AA25 #8D25AA
analogous
#84AA25 #42AA25 #25AA4A
triadic
#42AA25 #2542AA #AA2542
tetradic
#42AA25 #2584AA #8D25AA #AA4A25
square
#42AA25 #2584AA #8D25AA #AA4A25
split-complementary
#42AA25 #4A25AA #AA2584
monochromatic
#1B450F #2E781A #42AA25 #5AD438 #84DF6B

Accessibility & contrast

On white

3.00
#42AA25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#42AA25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AA25
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AA25#FFFFFF#000000##000000
##42AA251.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)
#AF9A00
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#34A491
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #42aa25;
/* rgb */ color: rgb(66, 170, 37);
/* oklch */ color: oklch(65.2% 0.191 140.0);
Tailwind
colors: {
  custom: {
    50: '#83c46a',
    500: '#42aa25',
    950: '#000000',
  },
}
SCSS
$custom: #42aa25;
$custom-light: #83c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#42aa25",
  "rgb": {
    "r": 66,
    "g": 170,
    "b": 37
  },
  "hsl": {
    "h": 106.917,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65213,
    "c": 0.19148,
    "h": 140
  },
  "luminance": 0.30041
}

Semantic roles & 50–950 ramp

primary
#42AA25
secondary
#B066C5
accent
#41E7C3
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AA25

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

Preview Lab → · Contrast checker → · Palette generator →

#42AA25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva