#42974B#42974B

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

Color values

HEX#42974B
RGBrgb(66, 151, 75)
HSLhsl(126, 39%, 43%)
HSVhsv(126, 56%, 59%)
CMYKcmyk(56.3%, 0%, 50.3%, 40.8%)
CIE-LABlab(55.89, -42.18, 32.28)
CIE-LCHlch(55.89, 53.12, 142.57°)
OKLaboklab(60.54% -0.1143 0.0782)
OKLCHoklch(60.54% 0.139 145.6)
XYZxyz(14.5825, 23.7982, 10.4803)
Luminance0.2380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42974B #97428E
analogous
#639742 #42974B #429776
triadic
#42974B #4B4297 #974B42
tetradic
#42974B #426397 #97428E #977642
square
#42974B #426397 #97428E #977642
split-complementary
#42974B #764297 #974263
monochromatic
#1D4221 #2F6C36 #42974B #5EB867 #88CB8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42974B#FFFFFF#000000##000000
##42974B1.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)
#998B45
Deuteranopia (green-blind)
#8E8350
Tritanopia (blue-blind)
#329485
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42974b;
/* rgb */ color: rgb(66, 151, 75);
/* oklch */ color: oklch(60.5% 0.139 145.6);
Tailwind
colors: {
  custom: {
    50: '#7eb67f',
    500: '#42974b',
    950: '#000000',
  },
}
SCSS
$custom: #42974b;
$custom-light: #7eb67f;
$custom-dark: #000000;
JSON
{
  "hex": "#42974b",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 75
  },
  "hsl": {
    "h": 126.353,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6054,
    "c": 0.13851,
    "h": 145.6
  },
  "luminance": 0.23799
}

Semantic roles & 50–950 ramp

primary
#42974B
secondary
#B67FB0
accent
#59C3CF
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #42974B

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

Preview Lab → · Contrast checker → · Palette generator →

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