#42A928#42A928

#42A928 is a light, vivid green. Relative luminance 0.297; OKLCH L 65.0% C 0.189 H 140.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#42A928
RGBrgb(66, 169, 40)
HSLhsl(108, 62%, 41%)
HSVhsv(108, 76%, 66%)
CMYKcmyk(60.9%, 0%, 76.3%, 33.7%)
CIE-LABlab(61.38, -52.85, 53.87)
CIE-LCHlch(61.38, 75.46, 134.45°)
OKLaboklab(64.96% -0.145 0.1209)
OKLCHoklch(64.96% 0.189 140.2)
XYZxyz(16.8170, 29.6858, 6.8508)
Luminance0.2969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A928 #8F28A9
analogous
#82A928 #42A928 #28A94E
triadic
#42A928 #2842A9 #A92842
tetradic
#42A928 #2882A9 #8F28A9 #A94E28
square
#42A928 #2882A9 #8F28A9 #A94E28
split-complementary
#42A928 #4E28A9 #A92882
monochromatic
#1B4611 #2F781C #42A928 #5BD13D #85DD6F

Accessibility & contrast

On white

3.03
#42A928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#42A928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A928
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A928#FFFFFF#000000##000000
##42A9281.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990A
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#34A390
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #42a928;
/* rgb */ color: rgb(66, 169, 40);
/* oklch */ color: oklch(65.0% 0.189 140.2);
Tailwind
colors: {
  custom: {
    50: '#83c36b',
    500: '#42a928',
    950: '#000000',
  },
}
SCSS
$custom: #42a928;
$custom-light: #83c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#42a928",
  "rgb": {
    "r": 66,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 107.907,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64965,
    "c": 0.18875,
    "h": 140.2
  },
  "luminance": 0.29687
}

Semantic roles & 50–950 ramp

primary
#42A928
secondary
#B169C4
accent
#43E5C4
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42A928

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

Preview Lab → · Contrast checker → · Palette generator →

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