#42982C#42982C

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

Color values

HEX#42982C
RGBrgb(66, 152, 44)
HSLhsl(108, 55%, 38%)
HSVhsv(108, 71%, 60%)
CMYKcmyk(56.6%, 0%, 71.1%, 40.4%)
CIE-LABlab(55.88, -46.23, 46.82)
CIE-LCHlch(55.88, 65.80, 134.63°)
OKLaboklab(60.43% -0.1269 0.1067)
OKLCHoklch(60.43% 0.166 139.9)
XYZxyz(13.9290, 23.7954, 6.2413)
Luminance0.2380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42982C #822C98
analogous
#78982C #42982C #2C984C
triadic
#42982C #2C4298 #982C42
tetradic
#42982C #2C7898 #822C98 #984C2C
square
#42982C #2C7898 #822C98 #984C2C
split-complementary
#42982C #4C2C98 #982C78
monochromatic
#193911 #2D691E #42982C #57C63B #80D46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42982C#FFFFFF#000000##000000
##42982C1.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)
#9C8A1B
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#389382
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42982c;
/* rgb */ color: rgb(66, 152, 44);
/* oklch */ color: oklch(60.4% 0.166 139.9);
Tailwind
colors: {
  custom: {
    50: '#80b76b',
    500: '#42982c',
    950: '#000000',
  },
}
SCSS
$custom: #42982c;
$custom-light: #80b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#42982c",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 107.778,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.16577,
    "h": 139.9
  },
  "luminance": 0.23797
}

Semantic roles & 50–950 ramp

primary
#42982C
secondary
#A965BB
accent
#49DEC0
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42982C

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

Preview Lab → · Contrast checker → · Palette generator →

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