#42981D#42981D

#42981D is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.3% C 0.174 H 138.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#42981D
RGBrgb(66, 152, 29)
HSLhsl(102, 68%, 35%)
HSVhsv(102, 81%, 60%)
CMYKcmyk(56.6%, 0%, 80.9%, 40.4%)
CIE-LABlab(55.79, -47.30, 52.08)
CIE-LCHlch(55.79, 70.35, 132.25°)
OKLaboklab(60.32% -0.1307 0.1155)
OKLCHoklch(60.32% 0.174 138.5)
XYZxyz(13.6963, 23.7023, 5.0154)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42981D #731D98
analogous
#7F981D #42981D #1D9835
triadic
#42981D #1D4298 #981D42
tetradic
#42981D #1D7F98 #731D98 #98351D
square
#42981D #1D7F98 #731D98 #98351D
split-complementary
#42981D #351D98 #981D7F
monochromatic
#153109 #2C6513 #42981D #58CB27 #7CDE52

Accessibility & contrast

On white

3.66
#42981D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#42981D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42981D
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42981D#FFFFFF#000000##000000
##42981D1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#3A9381
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42981d;
/* rgb */ color: rgb(66, 152, 29);
/* oklch */ color: oklch(60.3% 0.174 138.5);
Tailwind
colors: {
  custom: {
    50: '#80b764',
    500: '#42981d',
    950: '#000000',
  },
}
SCSS
$custom: #42981d;
$custom-light: #80b764;
$custom-dark: #000000;
JSON
{
  "hex": "#42981d",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 101.951,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60324,
    "c": 0.17442,
    "h": 138.5
  },
  "luminance": 0.23703
}

Semantic roles & 50–950 ramp

primary
#42981D
secondary
#9F50C1
accent
#3DEBB7
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42981D

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

Preview Lab → · Contrast checker → · Palette generator →

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