#42945F#42945F

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

Color values

HEX#42945F
RGBrgb(66, 148, 95)
HSLhsl(141, 38%, 42%)
HSVhsv(141, 55%, 58%)
CMYKcmyk(55.4%, 0%, 35.8%, 42%)
CIE-LABlab(55.24, -37.46, 20.67)
CIE-LCHlch(55.24, 42.79, 151.11°)
OKLaboklab(60.12% -0.1018 0.0519)
OKLCHoklch(60.12% 0.114 153)
XYZxyz(14.9011, 23.1630, 14.5099)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42945F #944277
analogous
#4E9442 #42945F #429488
triadic
#42945F #5F4294 #945F42
tetradic
#42945F #424E94 #944277 #948842
square
#42945F #424E94 #944277 #948842
split-complementary
#42945F #884294 #94424E
monochromatic
#1C3F29 #2F6A44 #42945F #5DB77C #87C99E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42945F#FFFFFF#000000##000000
##42945F1.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)
#94895C
Deuteranopia (green-blind)
#898162
Tritanopia (blue-blind)
#2C9286
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #42945f;
/* rgb */ color: rgb(66, 148, 95);
/* oklch */ color: oklch(60.1% 0.114 153.0);
Tailwind
colors: {
  custom: {
    50: '#7db48d',
    500: '#42945f',
    950: '#000000',
  },
}
SCSS
$custom: #42945f;
$custom-light: #7db48d;
$custom-dark: #000000;
JSON
{
  "hex": "#42945f",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 95
  },
  "hsl": {
    "h": 141.22,
    "s": 38.318,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60116,
    "c": 0.11424,
    "h": 153
  },
  "luminance": 0.23164
}

Semantic roles & 50–950 ramp

primary
#42945F
secondary
#B47EA1
accent
#5AA5CE
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #42945F

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

Preview Lab → · Contrast checker → · Palette generator →

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