#42B025#42B025

#42B025 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.8% C 0.198 H 140.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#42B025
RGBrgb(66, 176, 37)
HSLhsl(107, 65%, 42%)
HSVhsv(107, 79%, 69%)
CMYKcmyk(62.5%, 0%, 79%, 31%)
CIE-LABlab(63.62, -55.51, 57.02)
CIE-LCHlch(63.62, 79.58, 134.24°)
OKLaboklab(66.81% -0.1523 0.127)
OKLCHoklch(66.81% 0.198 140.2)
XYZxyz(18.1052, 32.3408, 7.0382)
Luminance0.3234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B025 #9325B0
analogous
#88B025 #42B025 #25B04E
triadic
#42B025 #2542B0 #B02542
tetradic
#42B025 #2588B0 #9325B0 #B04E25
square
#42B025 #2588B0 #9325B0 #B04E25
split-complementary
#42B025 #4E25B0 #B02588
monochromatic
#1C4B10 #2F7D1A #42B025 #5CD63C #87E16F

Accessibility & contrast

On white

2.81
#42B025 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#42B025 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B025
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B025#FFFFFF#000000##000000
##42B0251.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#32AA96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42b025;
/* rgb */ color: rgb(66, 176, 37);
/* oklch */ color: oklch(66.8% 0.198 140.2);
Tailwind
colors: {
  custom: {
    50: '#84c96b',
    500: '#42b025',
    950: '#000000',
  },
}
SCSS
$custom: #42b025;
$custom-light: #84c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#42b025",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 37
  },
  "hsl": {
    "h": 107.482,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66814,
    "c": 0.19833,
    "h": 140.2
  },
  "luminance": 0.32342
}

Semantic roles & 50–950 ramp

primary
#42B025
secondary
#B46AC7
accent
#40E8C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B025

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

Preview Lab → · Contrast checker → · Palette generator →

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