#42962B#42962B

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

Color values

HEX#42962B
RGBrgb(66, 150, 43)
HSLhsl(107, 55%, 38%)
HSVhsv(107, 71%, 59%)
CMYKcmyk(56%, 0%, 71.3%, 41.2%)
CIE-LABlab(55.22, -45.54, 46.53)
CIE-LCHlch(55.22, 65.11, 134.38°)
OKLaboklab(59.88% -0.1251 0.106)
OKLCHoklch(59.88% 0.164 139.7)
XYZxyz(13.5886, 23.1442, 6.0362)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42962B #7F2B96
analogous
#77962B #42962B #2B964A
triadic
#42962B #2B4296 #962B42
tetradic
#42962B #2B7796 #7F2B96 #964A2B
square
#42962B #2B7796 #7F2B96 #964A2B
split-complementary
#42962B #4A2B96 #962B77
monochromatic
#183710 #2D661D #42962B #57C639 #7FD468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42962B#FFFFFF#000000##000000
##42962B1.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)
#9A891A
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#399181
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #42962b;
/* rgb */ color: rgb(66, 150, 43);
/* oklch */ color: oklch(59.9% 0.164 139.7);
Tailwind
colors: {
  custom: {
    50: '#7fb66b',
    500: '#42962b',
    950: '#000000',
  },
}
SCSS
$custom: #42962b;
$custom-light: #7fb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#42962b",
  "rgb": {
    "r": 66,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 107.103,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.16391,
    "h": 139.7
  },
  "luminance": 0.23145
}

Semantic roles & 50–950 ramp

primary
#42962B
secondary
#A763BA
accent
#49DFBF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42962B

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

Preview Lab → · Contrast checker → · Palette generator →

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