#42952A#42952A

#42952A is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.6% C 0.163 H 139.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#42952A
RGBrgb(66, 149, 42)
HSLhsl(107, 56%, 37%)
HSVhsv(107, 72%, 58%)
CMYKcmyk(55.7%, 0%, 71.8%, 41.6%)
CIE-LABlab(54.89, -45.24, 46.59)
CIE-LCHlch(54.89, 64.94, 134.16°)
OKLaboklab(59.61% -0.1243 0.1059)
OKLCHoklch(59.61% 0.163 139.6)
XYZxyz(13.4116, 22.8192, 5.8878)
Luminance0.2282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42952A #7D2A95
analogous
#78952A #42952A #2A9547
triadic
#42952A #2A4295 #952A42
tetradic
#42952A #2A7895 #7D2A95 #95472A
square
#42952A #2A7895 #7D2A95 #95472A
split-complementary
#42952A #472A95 #952A78
monochromatic
#18360F #2D651D #42952A #57C537 #7ED466

Accessibility & contrast

On white

3.77
#42952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#42952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42952A
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42952A#FFFFFF#000000##000000
##42952A1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998819
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#399080
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42952a;
/* rgb */ color: rgb(66, 149, 42);
/* oklch */ color: oklch(59.6% 0.163 139.6);
Tailwind
colors: {
  custom: {
    50: '#7fb56a',
    500: '#42952a',
    950: '#000000',
  },
}
SCSS
$custom: #42952a;
$custom-light: #7fb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#42952a",
  "rgb": {
    "r": 66,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 106.542,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.16333,
    "h": 139.6
  },
  "luminance": 0.2282
}

Semantic roles & 50–950 ramp

primary
#42952A
secondary
#A661BA
accent
#48DFBD
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42952A

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

Preview Lab → · Contrast checker → · Palette generator →

#42952A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva