#42974C#42974C

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

Color values

HEX#42974C
RGBrgb(66, 151, 76)
HSLhsl(127, 39%, 43%)
HSVhsv(127, 56%, 59%)
CMYKcmyk(56.3%, 0%, 49.7%, 40.8%)
CIE-LABlab(55.90, -42.03, 31.78)
CIE-LCHlch(55.90, 52.69, 142.90°)
OKLaboklab(60.56% -0.1139 0.0771)
OKLCHoklch(60.56% 0.138 145.9)
XYZxyz(14.6170, 23.8120, 10.6620)
Luminance0.2381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42974C #97428D
analogous
#629742 #42974C #429777
triadic
#42974C #4C4297 #974C42
tetradic
#42974C #426297 #97428D #977742
square
#42974C #426297 #97428D #977742
split-complementary
#42974C #774297 #974262
monochromatic
#1D4221 #2F6C37 #42974C #5EB868 #88CB90

Accessibility & contrast

On white

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

On black

5.76
#42974C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42974C
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42974C#FFFFFF#000000##000000
##42974C1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B46
Deuteranopia (green-blind)
#8E8351
Tritanopia (blue-blind)
#329485
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42974c;
/* rgb */ color: rgb(66, 151, 76);
/* oklch */ color: oklch(60.6% 0.138 145.9);
Tailwind
colors: {
  custom: {
    50: '#7eb67f',
    500: '#42974c',
    950: '#000000',
  },
}
SCSS
$custom: #42974c;
$custom-light: #7eb67f;
$custom-dark: #000000;
JSON
{
  "hex": "#42974c",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 76
  },
  "hsl": {
    "h": 127.059,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60556,
    "c": 0.13755,
    "h": 145.9
  },
  "luminance": 0.23813
}

Semantic roles & 50–950 ramp

primary
#42974C
secondary
#B67FAF
accent
#59C1CF
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #42974C

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

Preview Lab → · Contrast checker → · Palette generator →

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