#42981C#42981C

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

Color values

HEX#42981C
RGBrgb(66, 152, 28)
HSLhsl(102, 69%, 35%)
HSVhsv(102, 82%, 60%)
CMYKcmyk(56.6%, 0%, 81.6%, 40.4%)
CIE-LABlab(55.78, -47.35, 52.38)
CIE-LCHlch(55.78, 70.61, 132.12°)
OKLaboklab(60.32% -0.1309 0.116)
OKLCHoklch(60.32% 0.175 138.4)
XYZxyz(13.6841, 23.6974, 4.9513)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42981C #721C98
analogous
#80981C #42981C #1C9834
triadic
#42981C #1C4298 #981C42
tetradic
#42981C #1C8098 #721C98 #98341C
square
#42981C #1C8098 #721C98 #98341C
split-complementary
#42981C #341C98 #981C80
monochromatic
#153109 #2C6412 #42981C #58CC26 #7CDF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42981C#FFFFFF#000000##000000
##42981C1.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)
#92832B
Tritanopia (blue-blind)
#3A9381
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42981c;
/* rgb */ color: rgb(66, 152, 28);
/* oklch */ color: oklch(60.3% 0.175 138.4);
Tailwind
colors: {
  custom: {
    50: '#80b764',
    500: '#42981c',
    950: '#000000',
  },
}
SCSS
$custom: #42981c;
$custom-light: #80b764;
$custom-dark: #000000;
JSON
{
  "hex": "#42981c",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 101.613,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60318,
    "c": 0.17489,
    "h": 138.4
  },
  "luminance": 0.23699
}

Semantic roles & 50–950 ramp

primary
#42981C
secondary
#9E4EC1
accent
#3CECB6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42981C

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

Preview Lab → · Contrast checker → · Palette generator →

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