#42945C#42945C

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

Color values

HEX#42945C
RGBrgb(66, 148, 92)
HSLhsl(139, 38%, 42%)
HSVhsv(139, 55%, 58%)
CMYKcmyk(55.4%, 0%, 37.8%, 42%)
CIE-LABlab(55.18, -38.03, 22.26)
CIE-LCHlch(55.18, 44.07, 149.66°)
OKLaboklab(60.05% -0.1032 0.0556)
OKLCHoklch(60.05% 0.117 151.7)
XYZxyz(14.7674, 23.1095, 13.8055)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42945C #94427A
analogous
#519442 #42945C #429485
triadic
#42945C #5C4294 #945C42
tetradic
#42945C #425194 #94427A #948542
square
#42945C #425194 #94427A #948542
split-complementary
#42945C #854294 #944251
monochromatic
#1C3F27 #2F6A42 #42945C #5DB779 #87C99C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42945C#FFFFFF#000000##000000
##42945C1.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)
#948958
Deuteranopia (green-blind)
#898160
Tritanopia (blue-blind)
#2D9286
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #42945c;
/* rgb */ color: rgb(66, 148, 92);
/* oklch */ color: oklch(60.1% 0.117 151.7);
Tailwind
colors: {
  custom: {
    50: '#7db48a',
    500: '#42945c',
    950: '#000000',
  },
}
SCSS
$custom: #42945c;
$custom-light: #7db48a;
$custom-dark: #000000;
JSON
{
  "hex": "#42945c",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 92
  },
  "hsl": {
    "h": 139.024,
    "s": 38.318,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60054,
    "c": 0.11724,
    "h": 151.7
  },
  "luminance": 0.23111
}

Semantic roles & 50–950 ramp

primary
#42945C
secondary
#B47EA3
accent
#5AA9CE
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #42945C

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

Preview Lab → · Contrast checker → · Palette generator →

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