#42945D#42945D

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

Color values

HEX#42945D
RGBrgb(66, 148, 93)
HSLhsl(140, 38%, 42%)
HSVhsv(140, 55%, 58%)
CMYKcmyk(55.4%, 0%, 37.2%, 42%)
CIE-LABlab(55.20, -37.85, 21.73)
CIE-LCHlch(55.20, 43.64, 150.14°)
OKLaboklab(60.07% -0.1027 0.0544)
OKLCHoklch(60.07% 0.116 152.1)
XYZxyz(14.8114, 23.1271, 14.0373)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42945D #944279
analogous
#509442 #42945D #429486
triadic
#42945D #5D4294 #945D42
tetradic
#42945D #425094 #944279 #948642
square
#42945D #425094 #944279 #948642
split-complementary
#42945D #864294 #944250
monochromatic
#1C3F28 #2F6A42 #42945D #5DB77A #87C99D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #42945d;
/* rgb */ color: rgb(66, 148, 93);
/* oklch */ color: oklch(60.1% 0.116 152.1);
Tailwind
colors: {
  custom: {
    50: '#7db48b',
    500: '#42945d',
    950: '#000000',
  },
}
SCSS
$custom: #42945d;
$custom-light: #7db48b;
$custom-dark: #000000;
JSON
{
  "hex": "#42945d",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 93
  },
  "hsl": {
    "h": 139.756,
    "s": 38.318,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60074,
    "c": 0.11624,
    "h": 152.1
  },
  "luminance": 0.23128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42945D

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

Preview Lab → · Contrast checker → · Palette generator →

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