#42912C#42912C

#42912C is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.5% C 0.157 H 139.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#42912C
RGBrgb(66, 145, 44)
HSLhsl(107, 53%, 37%)
HSVhsv(107, 70%, 57%)
CMYKcmyk(54.5%, 0%, 69.7%, 43.1%)
CIE-LABlab(53.59, -43.49, 44.41)
CIE-LCHlch(53.59, 62.16, 134.40°)
OKLaboklab(58.54% -0.1195 0.1016)
OKLCHoklch(58.54% 0.157 139.6)
XYZxyz(12.8263, 21.5899, 5.8738)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42912C #7B2C91
analogous
#74912C #42912C #2C9149
triadic
#42912C #2C4291 #912C42
tetradic
#42912C #2C7491 #7B2C91 #91492C
square
#42912C #2C7491 #7B2C91 #91492C
split-complementary
#42912C #492C91 #912C74
monochromatic
#173310 #2D621E #42912C #57C03A #7ED167

Accessibility & contrast

On white

3.95
#42912C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#42912C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42912C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42912C#FFFFFF#000000##000000
##42912C1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841E
Deuteranopia (green-blind)
#8B7E35
Tritanopia (blue-blind)
#3A8C7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #42912c;
/* rgb */ color: rgb(66, 145, 44);
/* oklch */ color: oklch(58.5% 0.157 139.6);
Tailwind
colors: {
  custom: {
    50: '#7fb26b',
    500: '#42912c',
    950: '#000000',
  },
}
SCSS
$custom: #42912c;
$custom-light: #7fb26b;
$custom-dark: #000000;
JSON
{
  "hex": "#42912c",
  "rgb": {
    "r": 66,
    "g": 145,
    "b": 44
  },
  "hsl": {
    "h": 106.931,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58542,
    "c": 0.15685,
    "h": 139.6
  },
  "luminance": 0.21591
}

Semantic roles & 50–950 ramp

primary
#42912C
secondary
#A562B7
accent
#4BDDBD
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42912C

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

Preview Lab → · Contrast checker → · Palette generator →

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