#42982B#42982B

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

Color values

HEX#42982B
RGBrgb(66, 152, 43)
HSLhsl(107, 56%, 38%)
HSVhsv(107, 72%, 60%)
CMYKcmyk(56.6%, 0%, 71.7%, 40.4%)
CIE-LABlab(55.87, -46.31, 47.21)
CIE-LCHlch(55.87, 66.13, 134.45°)
OKLaboklab(60.42% -0.1272 0.1074)
OKLCHoklch(60.42% 0.166 139.8)
XYZxyz(13.9105, 23.7880, 6.1435)
Luminance0.2379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42982B #812B98
analogous
#78982B #42982B #2B984A
triadic
#42982B #2B4298 #982B42
tetradic
#42982B #2B7898 #812B98 #984A2B
square
#42982B #2B7898 #812B98 #984A2B
split-complementary
#42982B #4A2B98 #982B78
monochromatic
#193910 #2D681E #42982B #57C739 #80D569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #42982b;
/* rgb */ color: rgb(66, 152, 43);
/* oklch */ color: oklch(60.4% 0.166 139.8);
Tailwind
colors: {
  custom: {
    50: '#80b76b',
    500: '#42982b',
    950: '#000000',
  },
}
SCSS
$custom: #42982b;
$custom-light: #80b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#42982b",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 107.339,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.16643,
    "h": 139.8
  },
  "luminance": 0.23789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42982B

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

Preview Lab → · Contrast checker → · Palette generator →

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