#42952C#42952C

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

Color values

HEX#42952C
RGBrgb(66, 149, 44)
HSLhsl(107, 54%, 38%)
HSVhsv(107, 70%, 58%)
CMYKcmyk(55.7%, 0%, 70.5%, 41.6%)
CIE-LABlab(54.90, -45.06, 45.79)
CIE-LCHlch(54.90, 64.25, 134.54°)
OKLaboklab(59.62% -0.1237 0.1045)
OKLCHoklch(59.62% 0.162 139.8)
XYZxyz(13.4483, 22.8339, 6.0811)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42952C #7F2C95
analogous
#76952C #42952C #2C954B
triadic
#42952C #2C4295 #952C42
tetradic
#42952C #2C7695 #7F2C95 #954B2C
square
#42952C #2C7695 #7F2C95 #954B2C
split-complementary
#42952C #4B2C95 #952C76
monochromatic
#183710 #2D661E #42952C #57C43A #7FD369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #42952c;
/* rgb */ color: rgb(66, 149, 44);
/* oklch */ color: oklch(59.6% 0.162 139.8);
Tailwind
colors: {
  custom: {
    50: '#7fb56b',
    500: '#42952c',
    950: '#000000',
  },
}
SCSS
$custom: #42952c;
$custom-light: #7fb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#42952c",
  "rgb": {
    "r": 66,
    "g": 149,
    "b": 44
  },
  "hsl": {
    "h": 107.429,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59622,
    "c": 0.16197,
    "h": 139.8
  },
  "luminance": 0.22835
}

Semantic roles & 50–950 ramp

primary
#42952C
secondary
#A764B9
accent
#4ADEBF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42952C

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

Preview Lab → · Contrast checker → · Palette generator →

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