#42952D#42952D

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

Color values

HEX#42952D
RGBrgb(66, 149, 45)
HSLhsl(108, 54%, 38%)
HSVhsv(108, 70%, 58%)
CMYKcmyk(55.7%, 0%, 69.8%, 41.6%)
CIE-LABlab(54.91, -44.98, 45.39)
CIE-LCHlch(54.91, 63.90, 134.74°)
OKLaboklab(59.63% -0.1234 0.1038)
OKLCHoklch(59.63% 0.161 139.9)
XYZxyz(13.4673, 22.8415, 6.1813)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42952D #802D95
analogous
#76952D #42952D #2D954C
triadic
#42952D #2D4295 #952D42
tetradic
#42952D #2D7695 #802D95 #954C2D
square
#42952D #2D7695 #802D95 #954C2D
split-complementary
#42952D #4C2D95 #952D76
monochromatic
#183711 #2D661F #42952D #57C43B #7FD26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42952D#FFFFFF#000000##000000
##42952D1.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)
#99881E
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#399080
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42952d;
/* rgb */ color: rgb(66, 149, 45);
/* oklch */ color: oklch(59.6% 0.161 139.9);
Tailwind
colors: {
  custom: {
    50: '#7fb56c',
    500: '#42952d',
    950: '#000000',
  },
}
SCSS
$custom: #42952d;
$custom-light: #7fb56c;
$custom-dark: #000000;
JSON
{
  "hex": "#42952d",
  "rgb": {
    "r": 66,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 107.885,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.16128,
    "h": 139.9
  },
  "luminance": 0.22843
}

Semantic roles & 50–950 ramp

primary
#42952D
secondary
#A865B9
accent
#4BDDBF
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42952D

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

Preview Lab → · Contrast checker → · Palette generator →

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