#42912D#42912D

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

Color values

HEX#42912D
RGBrgb(66, 145, 45)
HSLhsl(107, 53%, 37%)
HSVhsv(107, 69%, 57%)
CMYKcmyk(54.5%, 0%, 69%, 43.1%)
CIE-LABlab(53.60, -43.40, 44.00)
CIE-LCHlch(53.60, 61.80, 134.61°)
OKLaboklab(58.55% -0.1191 0.1009)
OKLCHoklch(58.55% 0.156 139.7)
XYZxyz(12.8453, 21.5975, 5.9740)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42912D #7C2D91
analogous
#74912D #42912D #2D914A
triadic
#42912D #2D4291 #912D42
tetradic
#42912D #2D7491 #7C2D91 #914A2D
square
#42912D #2D7491 #7C2D91 #914A2D
split-complementary
#42912D #4A2D91 #912D74
monochromatic
#173410 #2D621F #42912D #57C03B #7ED068

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42912D#FFFFFF#000000##000000
##42912D1.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)
#95841F
Deuteranopia (green-blind)
#8B7E36
Tritanopia (blue-blind)
#3A8C7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #42912d;
/* rgb */ color: rgb(66, 145, 45);
/* oklch */ color: oklch(58.6% 0.156 139.7);
Tailwind
colors: {
  custom: {
    50: '#7eb26b',
    500: '#42912d',
    950: '#000000',
  },
}
SCSS
$custom: #42912d;
$custom-light: #7eb26b;
$custom-dark: #000000;
JSON
{
  "hex": "#42912d",
  "rgb": {
    "r": 66,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 107.4,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.15613,
    "h": 139.7
  },
  "luminance": 0.21599
}

Semantic roles & 50–950 ramp

primary
#42912D
secondary
#A563B7
accent
#4CDCBE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42912D

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

Preview Lab → · Contrast checker → · Palette generator →

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