#42952F#42952F

#42952F is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.7% C 0.160 H 140.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#42952F
RGBrgb(66, 149, 47)
HSLhsl(109, 52%, 38%)
HSVhsv(109, 68%, 58%)
CMYKcmyk(55.7%, 0%, 68.5%, 41.6%)
CIE-LABlab(54.92, -44.79, 44.57)
CIE-LCHlch(54.92, 63.19, 135.14°)
OKLaboklab(59.65% -0.1228 0.1023)
OKLCHoklch(59.65% 0.16 140.2)
XYZxyz(13.5067, 22.8573, 6.3889)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42952F #822F95
analogous
#75952F #42952F #2F954F
triadic
#42952F #2F4295 #952F42
tetradic
#42952F #2F7595 #822F95 #954F2F
square
#42952F #2F7595 #822F95 #954F2F
split-complementary
#42952F #4F2F95 #952F75
monochromatic
#193812 #2D6620 #42952F #57C23F #80D16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42952F#FFFFFF#000000##000000
##42952F1.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)
#998821
Deuteranopia (green-blind)
#8E8138
Tritanopia (blue-blind)
#399080
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42952f;
/* rgb */ color: rgb(66, 149, 47);
/* oklch */ color: oklch(59.7% 0.160 140.2);
Tailwind
colors: {
  custom: {
    50: '#7fb56d',
    500: '#42952f',
    950: '#000000',
  },
}
SCSS
$custom: #42952f;
$custom-light: #7fb56d;
$custom-dark: #000000;
JSON
{
  "hex": "#42952f",
  "rgb": {
    "r": 66,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 108.824,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.15985,
    "h": 140.2
  },
  "luminance": 0.22858
}

Semantic roles & 50–950 ramp

primary
#42952F
secondary
#A967B8
accent
#4CDBC1
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42952F

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

Preview Lab → · Contrast checker → · Palette generator →

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