#42945B#42945B

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

Color values

HEX#42945B
RGBrgb(66, 148, 91)
HSLhsl(138, 38%, 42%)
HSVhsv(138, 55%, 58%)
CMYKcmyk(55.4%, 0%, 38.5%, 42%)
CIE-LABlab(55.17, -38.22, 22.78)
CIE-LCHlch(55.17, 44.50, 149.20°)
OKLaboklab(60.03% -0.1037 0.0569)
OKLCHoklch(60.03% 0.118 151.3)
XYZxyz(14.7239, 23.0921, 13.5768)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42945B #94427B
analogous
#529442 #42945B #429484
triadic
#42945B #5B4294 #945B42
tetradic
#42945B #425294 #94427B #948442
square
#42945B #425294 #94427B #948442
split-complementary
#42945B #844294 #944252
monochromatic
#1C3F27 #2F6A41 #42945B #5DB778 #87C99B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42945B#FFFFFF#000000##000000
##42945B1.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)
#958957
Deuteranopia (green-blind)
#89815F
Tritanopia (blue-blind)
#2E9286
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #42945b;
/* rgb */ color: rgb(66, 148, 91);
/* oklch */ color: oklch(60.0% 0.118 151.3);
Tailwind
colors: {
  custom: {
    50: '#7db48a',
    500: '#42945b',
    950: '#000000',
  },
}
SCSS
$custom: #42945b;
$custom-light: #7db48a;
$custom-dark: #000000;
JSON
{
  "hex": "#42945b",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 91
  },
  "hsl": {
    "h": 138.293,
    "s": 38.318,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60033,
    "c": 0.11825,
    "h": 151.3
  },
  "luminance": 0.23093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42945B

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

Preview Lab → · Contrast checker → · Palette generator →

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