#42962A#42962A

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

Color values

HEX#42962A
RGBrgb(66, 150, 42)
HSLhsl(107, 56%, 38%)
HSVhsv(107, 72%, 59%)
CMYKcmyk(56%, 0%, 72%, 41.2%)
CIE-LABlab(55.21, -45.62, 46.92)
CIE-LCHlch(55.21, 65.45, 134.19°)
OKLaboklab(59.88% -0.1254 0.1066)
OKLCHoklch(59.88% 0.165 139.6)
XYZxyz(13.5705, 23.1370, 5.9408)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42962A #7E2A96
analogous
#78962A #42962A #2A9648
triadic
#42962A #2A4296 #962A42
tetradic
#42962A #2A7896 #7E2A96 #96482A
square
#42962A #2A7896 #7E2A96 #96482A
split-complementary
#42962A #482A96 #962A78
monochromatic
#18360F #2D661D #42962A #57C637 #7FD466

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42962A#FFFFFF#000000##000000
##42962A1.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)
#9A8919
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#399181
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #42962a;
/* rgb */ color: rgb(66, 150, 42);
/* oklch */ color: oklch(59.9% 0.165 139.6);
Tailwind
colors: {
  custom: {
    50: '#7fb66a',
    500: '#42962a',
    950: '#000000',
  },
}
SCSS
$custom: #42962a;
$custom-light: #7fb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#42962a",
  "rgb": {
    "r": 66,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 106.667,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.16458,
    "h": 139.6
  },
  "luminance": 0.23138
}

Semantic roles & 50–950 ramp

primary
#42962A
secondary
#A761BA
accent
#48E0BE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42962A

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

Preview Lab → · Contrast checker → · Palette generator →

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