#42974E#42974E

#42974E is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.6% C 0.136 H 146.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#42974E
RGBrgb(66, 151, 78)
HSLhsl(128, 39%, 43%)
HSVhsv(128, 56%, 59%)
CMYKcmyk(56.3%, 0%, 48.3%, 40.8%)
CIE-LABlab(55.93, -41.72, 30.77)
CIE-LCHlch(55.93, 51.84, 143.59°)
OKLaboklab(60.59% -0.113 0.0749)
OKLCHoklch(60.59% 0.136 146.5)
XYZxyz(14.6876, 23.8403, 11.0339)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42974E #97428B
analogous
#609742 #42974E #429779
triadic
#42974E #4E4297 #974E42
tetradic
#42974E #426097 #97428B #977942
square
#42974E #426097 #97428B #977942
split-complementary
#42974E #794297 #974260
monochromatic
#1D4222 #2F6C38 #42974E #5EB86B #88CB92

Accessibility & contrast

On white

3.64
#42974E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#42974E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42974E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42974E#FFFFFF#000000##000000
##42974E1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B48
Deuteranopia (green-blind)
#8E8353
Tritanopia (blue-blind)
#319486
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42974e;
/* rgb */ color: rgb(66, 151, 78);
/* oklch */ color: oklch(60.6% 0.136 146.5);
Tailwind
colors: {
  custom: {
    50: '#7eb681',
    500: '#42974e',
    950: '#000000',
  },
}
SCSS
$custom: #42974e;
$custom-light: #7eb681;
$custom-dark: #000000;
JSON
{
  "hex": "#42974e",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 78
  },
  "hsl": {
    "h": 128.471,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60588,
    "c": 0.13561,
    "h": 146.5
  },
  "luminance": 0.23842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42974E

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

Preview Lab → · Contrast checker → · Palette generator →

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