#42B233#42B233

#42B233 is a light, vivid green. Relative luminance 0.332; OKLCH L 67.4% C 0.193 H 141.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#42B233
RGBrgb(66, 178, 51)
HSLhsl(113, 55%, 45%)
HSVhsv(113, 71%, 70%)
CMYKcmyk(62.9%, 0%, 71.3%, 30.2%)
CIE-LABlab(64.35, -55.21, 52.87)
CIE-LCHlch(64.35, 76.44, 136.24°)
OKLaboklab(67.44% -0.1507 0.1203)
OKLCHoklch(67.44% 0.193 141.4)
XYZxyz(18.7637, 33.2362, 8.5577)
Luminance0.3324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B233 #A333B2
analogous
#82B233 #42B233 #33B263
triadic
#42B233 #3342B2 #B23342
tetradic
#42B233 #3382B2 #A333B2 #B26333
square
#42B233 #3382B2 #A333B2 #B26333
split-complementary
#42B233 #6333B2 #B23382
monochromatic
#1F5318 #308225 #42B233 #63CE54 #8EDC84

Accessibility & contrast

On white

2.75
#42B233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42B233#FFFFFF#000000##000000
##42B2331.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A21E
Deuteranopia (green-blind)
#A99840
Tritanopia (blue-blind)
#2FAC99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42b233;
/* rgb */ color: rgb(66, 178, 51);
/* oklch */ color: oklch(67.4% 0.193 141.4);
Tailwind
colors: {
  custom: {
    50: '#84ca72',
    500: '#42b233',
    950: '#000000',
  },
}
SCSS
$custom: #42b233;
$custom-light: #84ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#42b233",
  "rgb": {
    "r": 66,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 112.913,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67444,
    "c": 0.19283,
    "h": 141.4
  },
  "luminance": 0.33238
}

Semantic roles & 50–950 ramp

primary
#42B233
secondary
#BC7CC5
accent
#49DFCD
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B233

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

Preview Lab → · Contrast checker → · Palette generator →

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