#42982D#42982D

#42982D is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.4% C 0.165 H 140.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#42982D
RGBrgb(66, 152, 45)
HSLhsl(108, 54%, 39%)
HSVhsv(108, 70%, 60%)
CMYKcmyk(56.6%, 0%, 70.4%, 40.4%)
CIE-LABlab(55.89, -46.14, 46.42)
CIE-LCHlch(55.89, 65.45, 134.82°)
OKLaboklab(60.44% -0.1266 0.106)
OKLCHoklch(60.44% 0.165 140.1)
XYZxyz(13.9480, 23.8030, 6.3415)
Luminance0.2380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42982D #832D98
analogous
#77982D #42982D #2D984D
triadic
#42982D #2D4298 #982D42
tetradic
#42982D #2D7798 #832D98 #984D2D
square
#42982D #2D7798 #832D98 #984D2D
split-complementary
#42982D #4D2D98 #982D77
monochromatic
#193A11 #2D691F #42982D #58C53D #80D36C

Accessibility & contrast

On white

3.65
#42982D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#42982D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42982D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42982D#FFFFFF#000000##000000
##42982D1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1D
Deuteranopia (green-blind)
#918337
Tritanopia (blue-blind)
#389383
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42982d;
/* rgb */ color: rgb(66, 152, 45);
/* oklch */ color: oklch(60.4% 0.165 140.1);
Tailwind
colors: {
  custom: {
    50: '#80b76c',
    500: '#42982d',
    950: '#000000',
  },
}
SCSS
$custom: #42982d;
$custom-light: #80b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#42982d",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 108.224,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6044,
    "c": 0.16509,
    "h": 140.1
  },
  "luminance": 0.23804
}

Semantic roles & 50–950 ramp

primary
#42982D
secondary
#AA66BA
accent
#4ADEC1
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42982D

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

Preview Lab → · Contrast checker → · Palette generator →

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