#42B237#42B237

#42B237 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.5% C 0.190 H 141.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#42B237
RGBrgb(66, 178, 55)
HSLhsl(115, 53%, 46%)
HSVhsv(115, 69%, 70%)
CMYKcmyk(62.9%, 0%, 69.1%, 30.2%)
CIE-LABlab(64.38, -54.86, 51.33)
CIE-LCHlch(64.38, 75.13, 136.90°)
OKLaboklab(67.48% -0.1496 0.1175)
OKLCHoklch(67.48% 0.19 141.8)
XYZxyz(18.8558, 33.2730, 9.0424)
Luminance0.3327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B237 #A737B2
analogous
#7FB237 #42B237 #37B269
triadic
#42B237 #3742B2 #B23742
tetradic
#42B237 #377FB2 #A737B2 #B26937
square
#42B237 #377FB2 #A737B2 #B26937
split-complementary
#42B237 #6937B2 #B2377F
monochromatic
#1F541A #318329 #42B237 #64CC5A #90DB89

Accessibility & contrast

On white

2.74
#42B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#42B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B237
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B237#FFFFFF#000000##000000
##42B2371.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A225
Deuteranopia (green-blind)
#A99943
Tritanopia (blue-blind)
#2EAD99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42b237;
/* rgb */ color: rgb(66, 178, 55);
/* oklch */ color: oklch(67.5% 0.190 141.8);
Tailwind
colors: {
  custom: {
    50: '#84ca74',
    500: '#42b237',
    950: '#000000',
  },
}
SCSS
$custom: #42b237;
$custom-light: #84ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#42b237",
  "rgb": {
    "r": 66,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 114.634,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67478,
    "c": 0.19024,
    "h": 141.8
  },
  "luminance": 0.33275
}

Semantic roles & 50–950 ramp

primary
#42B237
secondary
#BE80C5
accent
#4CDCCF
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #42B237

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

Preview Lab → · Contrast checker → · Palette generator →

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