#42962C#42962C

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

Color values

HEX#42962C
RGBrgb(66, 150, 44)
HSLhsl(108, 55%, 38%)
HSVhsv(108, 71%, 59%)
CMYKcmyk(56%, 0%, 70.7%, 41.2%)
CIE-LABlab(55.23, -45.45, 46.14)
CIE-LCHlch(55.23, 64.77, 134.57°)
OKLaboklab(59.89% -0.1248 0.1053)
OKLCHoklch(59.89% 0.163 139.9)
XYZxyz(13.6072, 23.1517, 6.1341)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42962C #802C96
analogous
#77962C #42962C #2C964B
triadic
#42962C #2C4296 #962C42
tetradic
#42962C #2C7796 #802C96 #964B2C
square
#42962C #2C7796 #802C96 #964B2C
split-complementary
#42962C #4B2C96 #962C77
monochromatic
#183710 #2D671E #42962C #57C53A #7FD369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42962C#FFFFFF#000000##000000
##42962C1.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)
#9A891C
Deuteranopia (green-blind)
#8F8236
Tritanopia (blue-blind)
#399181
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #42962c;
/* rgb */ color: rgb(66, 150, 44);
/* oklch */ color: oklch(59.9% 0.163 139.9);
Tailwind
colors: {
  custom: {
    50: '#7fb66b',
    500: '#42962c',
    950: '#000000',
  },
}
SCSS
$custom: #42962c;
$custom-light: #7fb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#42962c",
  "rgb": {
    "r": 66,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 107.547,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.16325,
    "h": 139.9
  },
  "luminance": 0.23153
}

Semantic roles & 50–950 ramp

primary
#42962C
secondary
#A864BA
accent
#4ADEBF
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42962C

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

Preview Lab → · Contrast checker → · Palette generator →

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