#42945E#42945E

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

Color values

HEX#42945E
RGBrgb(66, 148, 94)
HSLhsl(140, 38%, 42%)
HSVhsv(140, 55%, 58%)
CMYKcmyk(55.4%, 0%, 36.5%, 42%)
CIE-LABlab(55.22, -37.65, 21.20)
CIE-LCHlch(55.22, 43.21, 150.62°)
OKLaboklab(60.1% -0.1022 0.0531)
OKLCHoklch(60.1% 0.115 152.5)
XYZxyz(14.8560, 23.1449, 14.2720)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42945E #944278
analogous
#4F9442 #42945E #429487
triadic
#42945E #5E4294 #945E42
tetradic
#42945E #424F94 #944278 #948742
square
#42945E #424F94 #944278 #948742
split-complementary
#42945E #874294 #94424F
monochromatic
#1C3F28 #2F6A43 #42945E #5DB77B #87C99E

Accessibility & contrast

On white

3.73
#42945E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#42945E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42945E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42945E#FFFFFF#000000##000000
##42945E1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94895A
Deuteranopia (green-blind)
#898161
Tritanopia (blue-blind)
#2C9286
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #42945e;
/* rgb */ color: rgb(66, 148, 94);
/* oklch */ color: oklch(60.1% 0.115 152.5);
Tailwind
colors: {
  custom: {
    50: '#7db48c',
    500: '#42945e',
    950: '#000000',
  },
}
SCSS
$custom: #42945e;
$custom-light: #7db48c;
$custom-dark: #000000;
JSON
{
  "hex": "#42945e",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 94
  },
  "hsl": {
    "h": 140.488,
    "s": 38.318,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60095,
    "c": 0.11523,
    "h": 152.5
  },
  "luminance": 0.23146
}

Semantic roles & 50–950 ramp

primary
#42945E
secondary
#B47EA2
accent
#5AA6CE
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #42945E

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

Preview Lab → · Contrast checker → · Palette generator →

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