#42B236#42B236

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

Color values

HEX#42B236
RGBrgb(66, 178, 54)
HSLhsl(114, 53%, 45%)
HSVhsv(114, 70%, 70%)
CMYKcmyk(62.9%, 0%, 69.7%, 30.2%)
CIE-LABlab(64.37, -54.95, 51.72)
CIE-LCHlch(64.37, 75.46, 136.73°)
OKLaboklab(67.47% -0.1499 0.1182)
OKLCHoklch(67.47% 0.191 141.7)
XYZxyz(18.8320, 33.2636, 8.9174)
Luminance0.3327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B236 #A636B2
analogous
#80B236 #42B236 #36B268
triadic
#42B236 #3642B2 #B23642
tetradic
#42B236 #3680B2 #A636B2 #B26836
square
#42B236 #3680B2 #A636B2 #B26836
split-complementary
#42B236 #6836B2 #B23680
monochromatic
#1F541A #318328 #42B236 #64CD59 #90DB88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42B236#FFFFFF#000000##000000
##42B2361.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)
#B6A223
Deuteranopia (green-blind)
#A99942
Tritanopia (blue-blind)
#2EAD99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42b236;
/* rgb */ color: rgb(66, 178, 54);
/* oklch */ color: oklch(67.5% 0.191 141.7);
Tailwind
colors: {
  custom: {
    50: '#84ca74',
    500: '#42b236',
    950: '#000000',
  },
}
SCSS
$custom: #42b236;
$custom-light: #84ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#42b236",
  "rgb": {
    "r": 66,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 114.194,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67469,
    "c": 0.1909,
    "h": 141.7
  },
  "luminance": 0.33265
}

Semantic roles & 50–950 ramp

primary
#42B236
secondary
#BE7FC5
accent
#4BDDCF
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #42B236

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

Preview Lab → · Contrast checker → · Palette generator →

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