#42974A#42974A

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

Color values

HEX#42974A
RGBrgb(66, 151, 74)
HSLhsl(126, 39%, 43%)
HSVhsv(126, 56%, 59%)
CMYKcmyk(56.3%, 0%, 51%, 40.8%)
CIE-LABlab(55.87, -42.33, 32.78)
CIE-LCHlch(55.87, 53.54, 142.24°)
OKLaboklab(60.52% -0.1148 0.0793)
OKLCHoklch(60.52% 0.139 145.4)
XYZxyz(14.5485, 23.7846, 10.3015)
Luminance0.2379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42974A #97428F
analogous
#649742 #42974A #429774
triadic
#42974A #4A4297 #974A42
tetradic
#42974A #426497 #97428F #977442
square
#42974A #426497 #97428F #977442
split-complementary
#42974A #744297 #974264
monochromatic
#1D4220 #2F6C35 #42974A #5EB866 #88CB8F

Accessibility & contrast

On white

3.65
#42974A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42974A#FFFFFF#000000##000000
##42974A1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B43
Deuteranopia (green-blind)
#8E834F
Tritanopia (blue-blind)
#329385
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42974a;
/* rgb */ color: rgb(66, 151, 74);
/* oklch */ color: oklch(60.5% 0.139 145.4);
Tailwind
colors: {
  custom: {
    50: '#7eb67e',
    500: '#42974a',
    950: '#000000',
  },
}
SCSS
$custom: #42974a;
$custom-light: #7eb67e;
$custom-dark: #000000;
JSON
{
  "hex": "#42974a",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 74
  },
  "hsl": {
    "h": 125.647,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60524,
    "c": 0.13946,
    "h": 145.4
  },
  "luminance": 0.23786
}

Semantic roles & 50–950 ramp

primary
#42974A
secondary
#B67FB1
accent
#59C4CF
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #42974A

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

Preview Lab → · Contrast checker → · Palette generator →

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