#42912F#42912F

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

Color values

HEX#42912F
RGBrgb(66, 145, 47)
HSLhsl(108, 51%, 38%)
HSVhsv(108, 68%, 57%)
CMYKcmyk(54.5%, 0%, 67.6%, 43.1%)
CIE-LABlab(53.61, -43.21, 43.16)
CIE-LCHlch(53.61, 61.07, 135.04°)
OKLaboklab(58.57% -0.1185 0.0994)
OKLCHoklch(58.57% 0.155 140)
XYZxyz(12.8847, 21.6133, 6.1816)
Luminance0.2161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42912F #7E2F91
analogous
#73912F #42912F #2F914D
triadic
#42912F #2F4291 #912F42
tetradic
#42912F #2F7391 #7E2F91 #914D2F
square
#42912F #2F7391 #7E2F91 #914D2F
split-complementary
#42912F #4D2F91 #912F73
monochromatic
#183511 #2D6320 #42912F #57BF3E #7FCF6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42912F#FFFFFF#000000##000000
##42912F1.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)
#958422
Deuteranopia (green-blind)
#8B7E38
Tritanopia (blue-blind)
#398C7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #42912f;
/* rgb */ color: rgb(66, 145, 47);
/* oklch */ color: oklch(58.6% 0.155 140.0);
Tailwind
colors: {
  custom: {
    50: '#7eb26c',
    500: '#42912f',
    950: '#000000',
  },
}
SCSS
$custom: #42912f;
$custom-light: #7eb26c;
$custom-dark: #000000;
JSON
{
  "hex": "#42912f",
  "rgb": {
    "r": 66,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 108.367,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5857,
    "c": 0.15466,
    "h": 140
  },
  "luminance": 0.21614
}

Semantic roles & 50–950 ramp

primary
#42912F
secondary
#A765B6
accent
#4DDBBF
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42912F

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

Preview Lab → · Contrast checker → · Palette generator →

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