#42982F#42982F

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

Color values

HEX#42982F
RGBrgb(66, 152, 47)
HSLhsl(109, 53%, 39%)
HSVhsv(109, 69%, 60%)
CMYKcmyk(56.6%, 0%, 69.1%, 40.4%)
CIE-LABlab(55.91, -45.96, 45.61)
CIE-LCHlch(55.91, 64.75, 135.22°)
OKLaboklab(60.46% -0.126 0.1045)
OKLCHoklch(60.46% 0.164 140.3)
XYZxyz(13.9875, 23.8188, 6.5492)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42982F #852F98
analogous
#77982F #42982F #2F9851
triadic
#42982F #2F4298 #982F42
tetradic
#42982F #2F7798 #852F98 #98512F
square
#42982F #2F7798 #852F98 #98512F
split-complementary
#42982F #512F98 #982F77
monochromatic
#193B12 #2E6921 #42982F #58C440 #81D26F

Accessibility & contrast

On white

3.64
#42982F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42982F#FFFFFF#000000##000000
##42982F1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42982f;
/* rgb */ color: rgb(66, 152, 47);
/* oklch */ color: oklch(60.5% 0.164 140.3);
Tailwind
colors: {
  custom: {
    50: '#80b76d',
    500: '#42982f',
    950: '#000000',
  },
}
SCSS
$custom: #42982f;
$custom-light: #80b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#42982f",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 109.143,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.16369,
    "h": 140.3
  },
  "luminance": 0.2382
}

Semantic roles & 50–950 ramp

primary
#42982F
secondary
#AB69BA
accent
#4CDCC2
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42982F

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

Preview Lab → · Contrast checker → · Palette generator →

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