#42962D#42962D

#42962D is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.9% C 0.163 H 140.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#42962D
RGBrgb(66, 150, 45)
HSLhsl(108, 54%, 38%)
HSVhsv(108, 70%, 59%)
CMYKcmyk(56%, 0%, 70%, 41.2%)
CIE-LABlab(55.24, -45.36, 45.74)
CIE-LCHlch(55.24, 64.42, 134.77°)
OKLaboklab(59.9% -0.1245 0.1045)
OKLCHoklch(59.9% 0.163 140)
XYZxyz(13.6262, 23.1593, 6.2343)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42962D #812D96
analogous
#76962D #42962D #2D964C
triadic
#42962D #2D4296 #962D42
tetradic
#42962D #2D7696 #812D96 #964C2D
square
#42962D #2D7696 #812D96 #964C2D
split-complementary
#42962D #4C2D96 #962D76
monochromatic
#193811 #2D671F #42962D #57C43C #80D36B

Accessibility & contrast

On white

3.73
#42962D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#42962D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42962D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42962D#FFFFFF#000000##000000
##42962D1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891E
Deuteranopia (green-blind)
#8F8237
Tritanopia (blue-blind)
#399181
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #42962d;
/* rgb */ color: rgb(66, 150, 45);
/* oklch */ color: oklch(59.9% 0.163 140.0);
Tailwind
colors: {
  custom: {
    50: '#7fb66c',
    500: '#42962d',
    950: '#000000',
  },
}
SCSS
$custom: #42962d;
$custom-light: #7fb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#42962d",
  "rgb": {
    "r": 66,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 108,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59901,
    "c": 0.16255,
    "h": 140
  },
  "luminance": 0.2316
}

Semantic roles & 50–950 ramp

primary
#42962D
secondary
#A965B9
accent
#4BDDC0
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42962D

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

Preview Lab → · Contrast checker → · Palette generator →

#42962D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva