#42952B#42952B

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

Color values

HEX#42952B
RGBrgb(66, 149, 43)
HSLhsl(107, 55%, 38%)
HSVhsv(107, 71%, 58%)
CMYKcmyk(55.7%, 0%, 71.1%, 41.6%)
CIE-LABlab(54.89, -45.15, 46.19)
CIE-LCHlch(54.89, 64.59, 134.35°)
OKLaboklab(59.61% -0.124 0.1052)
OKLCHoklch(59.61% 0.163 139.7)
XYZxyz(13.4297, 22.8265, 5.9833)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42952B #7E2B95
analogous
#77952B #42952B #2B9549
triadic
#42952B #2B4295 #952B42
tetradic
#42952B #2B7795 #7E2B95 #95492B
square
#42952B #2B7795 #7E2B95 #95492B
split-complementary
#42952B #492B95 #952B77
monochromatic
#183610 #2D661D #42952B #57C439 #7FD367

Accessibility & contrast

On white

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

On black

5.57
#42952B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42952B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42952B#FFFFFF#000000##000000
##42952B1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881B
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#399080
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42952b;
/* rgb */ color: rgb(66, 149, 43);
/* oklch */ color: oklch(59.6% 0.163 139.7);
Tailwind
colors: {
  custom: {
    50: '#7fb56b',
    500: '#42952b',
    950: '#000000',
  },
}
SCSS
$custom: #42952b;
$custom-light: #7fb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#42952b",
  "rgb": {
    "r": 66,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 106.981,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59614,
    "c": 0.16265,
    "h": 139.7
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#42952B
secondary
#A762BA
accent
#49DFBE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42952B

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

Preview Lab → · Contrast checker → · Palette generator →

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