#42945A#42945A

#42945A is a mid, moderate green. Relative luminance 0.231; OKLCH L 60.0% C 0.119 H 150.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#42945A
RGBrgb(66, 148, 90)
HSLhsl(138, 38%, 42%)
HSVhsv(138, 55%, 58%)
CMYKcmyk(55.4%, 0%, 39.2%, 42%)
CIE-LABlab(55.15, -38.41, 23.31)
CIE-LCHlch(55.15, 44.93, 148.74°)
OKLaboklab(60.01% -0.1041 0.0581)
OKLCHoklch(60.01% 0.119 150.9)
XYZxyz(14.6811, 23.0750, 13.3511)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42945A #94427C
analogous
#539442 #42945A #429483
triadic
#42945A #5A4294 #945A42
tetradic
#42945A #425394 #94427C #948342
square
#42945A #425394 #94427C #948342
split-complementary
#42945A #834294 #944253
monochromatic
#1C3F27 #2F6A40 #42945A #5DB777 #87C99A

Accessibility & contrast

On white

3.74
#42945A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#42945A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42945A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42945A#FFFFFF#000000##000000
##42945A1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958956
Deuteranopia (green-blind)
#89815E
Tritanopia (blue-blind)
#2E9285
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #42945a;
/* rgb */ color: rgb(66, 148, 90);
/* oklch */ color: oklch(60.0% 0.119 150.9);
Tailwind
colors: {
  custom: {
    50: '#7db489',
    500: '#42945a',
    950: '#000000',
  },
}
SCSS
$custom: #42945a;
$custom-light: #7db489;
$custom-dark: #000000;
JSON
{
  "hex": "#42945a",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 90
  },
  "hsl": {
    "h": 137.561,
    "s": 38.318,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.11925,
    "h": 150.9
  },
  "luminance": 0.23076
}

Semantic roles & 50–950 ramp

primary
#42945A
secondary
#B47EA4
accent
#5AACCE
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110B
muted
#7C807C

Preview Lab

Preview with #42945A

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

Preview Lab → · Contrast checker → · Palette generator →

#42945A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva