#42954E#42954E

#42954E is a mid, vivid green. Relative luminance 0.232; OKLCH L 60.1% C 0.133 H 146.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#42954E
RGBrgb(66, 149, 78)
HSLhsl(129, 39%, 42%)
HSVhsv(129, 56%, 58%)
CMYKcmyk(55.7%, 0%, 47.7%, 41.6%)
CIE-LABlab(55.28, -40.89, 29.95)
CIE-LCHlch(55.28, 50.68, 143.77°)
OKLaboklab(60.06% -0.1108 0.0731)
OKLCHoklch(60.06% 0.133 146.6)
XYZxyz(14.3685, 23.2020, 10.9275)
Luminance0.2320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42954E #954289
analogous
#5F9542 #42954E #429578
triadic
#42954E #4E4295 #954E42
tetradic
#42954E #425F95 #954289 #957842
square
#42954E #425F95 #954289 #957842
split-complementary
#42954E #784295 #95425F
monochromatic
#1C4022 #2F6B38 #42954E #5DB76A #87CA91

Accessibility & contrast

On white

3.72
#42954E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#42954E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42954E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42954E#FFFFFF#000000##000000
##42954E1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978948
Deuteranopia (green-blind)
#8C8153
Tritanopia (blue-blind)
#329284
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #42954e;
/* rgb */ color: rgb(66, 149, 78);
/* oklch */ color: oklch(60.1% 0.133 146.6);
Tailwind
colors: {
  custom: {
    50: '#7eb581',
    500: '#42954e',
    950: '#000000',
  },
}
SCSS
$custom: #42954e;
$custom-light: #7eb581;
$custom-dark: #000000;
JSON
{
  "hex": "#42954e",
  "rgb": {
    "r": 66,
    "g": 149,
    "b": 78
  },
  "hsl": {
    "h": 128.675,
    "s": 38.605,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.13271,
    "h": 146.6
  },
  "luminance": 0.23203
}

Semantic roles & 50–950 ramp

primary
#42954E
secondary
#B57EAD
accent
#59BECF
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #42954E

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

Preview Lab → · Contrast checker → · Palette generator →

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