#42981E#42981E

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

Color values

HEX#42981E
RGBrgb(66, 152, 30)
HSLhsl(102, 67%, 36%)
HSVhsv(102, 80%, 60%)
CMYKcmyk(56.6%, 0%, 80.3%, 40.4%)
CIE-LABlab(55.79, -47.24, 51.77)
CIE-LCHlch(55.79, 70.09, 132.38°)
OKLaboklab(60.33% -0.1304 0.1151)
OKLCHoklch(60.33% 0.174 138.6)
XYZxyz(13.7088, 23.7073, 5.0816)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42981E #741E98
analogous
#7F981E #42981E #1E9837
triadic
#42981E #1E4298 #981E42
tetradic
#42981E #1E7F98 #741E98 #98371E
square
#42981E #1E7F98 #741E98 #98371E
split-complementary
#42981E #371E98 #981E7F
monochromatic
#16320A #2C6514 #42981E #58CB28 #7CDD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42981E#FFFFFF#000000##000000
##42981E1.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: #42981e;
/* rgb */ color: rgb(66, 152, 30);
/* oklch */ color: oklch(60.3% 0.174 138.6);
Tailwind
colors: {
  custom: {
    50: '#80b765',
    500: '#42981e',
    950: '#000000',
  },
}
SCSS
$custom: #42981e;
$custom-light: #80b765;
$custom-dark: #000000;
JSON
{
  "hex": "#42981e",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 102.295,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6033,
    "c": 0.17393,
    "h": 138.6
  },
  "luminance": 0.23708
}

Semantic roles & 50–950 ramp

primary
#42981E
secondary
#A051C0
accent
#3EEAB7
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42981E

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

Preview Lab → · Contrast checker → · Palette generator →

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