#42955D#42955D

#42955D is a mid, moderate green. Relative luminance 0.234; OKLCH L 60.3% C 0.118 H 151.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#42955D
RGBrgb(66, 149, 93)
HSLhsl(140, 39%, 42%)
HSVhsv(140, 56%, 58%)
CMYKcmyk(55.7%, 0%, 37.6%, 41.6%)
CIE-LABlab(55.52, -38.28, 22.16)
CIE-LCHlch(55.52, 44.23, 149.94°)
OKLaboklab(60.34% -0.1039 0.0554)
OKLCHoklch(60.34% 0.118 151.9)
XYZxyz(14.9689, 23.4421, 14.0898)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42955D #95427A
analogous
#519542 #42955D #429587
triadic
#42955D #5D4295 #955D42
tetradic
#42955D #425195 #95427A #958742
square
#42955D #425195 #95427A #958742
split-complementary
#42955D #874295 #954251
monochromatic
#1C4028 #2F6B43 #42955D #5DB77A #87CA9D

Accessibility & contrast

On white

3.69
#42955D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#42955D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42955D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42955D#FFFFFF#000000##000000
##42955D1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958A59
Deuteranopia (green-blind)
#8A8261
Tritanopia (blue-blind)
#2D9387
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #42955d;
/* rgb */ color: rgb(66, 149, 93);
/* oklch */ color: oklch(60.3% 0.118 151.9);
Tailwind
colors: {
  custom: {
    50: '#7db58b',
    500: '#42955d',
    950: '#000000',
  },
}
SCSS
$custom: #42955d;
$custom-light: #7db58b;
$custom-dark: #000000;
JSON
{
  "hex": "#42955d",
  "rgb": {
    "r": 66,
    "g": 149,
    "b": 93
  },
  "hsl": {
    "h": 139.518,
    "s": 38.605,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60338,
    "c": 0.11773,
    "h": 151.9
  },
  "luminance": 0.23443
}

Semantic roles & 50–950 ramp

primary
#42955D
secondary
#B57EA3
accent
#59A8CF
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #42955D

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

Preview Lab → · Contrast checker → · Palette generator →

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