#42974F#42974F

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

Color values

HEX#42974F
RGBrgb(66, 151, 79)
HSLhsl(129, 39%, 43%)
HSVhsv(129, 56%, 59%)
CMYKcmyk(56.3%, 0%, 47.7%, 40.8%)
CIE-LABlab(55.94, -41.56, 30.26)
CIE-LCHlch(55.94, 51.41, 143.94°)
OKLaboklab(60.61% -0.1126 0.0738)
OKLCHoklch(60.61% 0.135 146.7)
XYZxyz(14.7237, 23.8547, 11.2241)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42974F #97428A
analogous
#609742 #42974F #429779
triadic
#42974F #4F4297 #974F42
tetradic
#42974F #426097 #97428A #977942
square
#42974F #426097 #97428A #977942
split-complementary
#42974F #794297 #974260
monochromatic
#1D4222 #2F6C39 #42974F #5EB86C #88CB93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42974F#FFFFFF#000000##000000
##42974F1.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)
#998B49
Deuteranopia (green-blind)
#8E8354
Tritanopia (blue-blind)
#319486
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42974f;
/* rgb */ color: rgb(66, 151, 79);
/* oklch */ color: oklch(60.6% 0.135 146.7);
Tailwind
colors: {
  custom: {
    50: '#7eb681',
    500: '#42974f',
    950: '#000000',
  },
}
SCSS
$custom: #42974f;
$custom-light: #7eb681;
$custom-dark: #000000;
JSON
{
  "hex": "#42974f",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 79
  },
  "hsl": {
    "h": 129.176,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.13463,
    "h": 146.7
  },
  "luminance": 0.23856
}

Semantic roles & 50–950 ramp

primary
#42974F
secondary
#B67FAE
accent
#59BDCF
background
#F8FBF8
surface
#EFF6EF
border
#CAD0CA
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #42974F

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

Preview Lab → · Contrast checker → · Palette generator →

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