#42912A#42912A

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

Color values

HEX#42912A
RGBrgb(66, 145, 42)
HSLhsl(106, 55%, 37%)
HSVhsv(106, 71%, 57%)
CMYKcmyk(54.5%, 0%, 71%, 43.1%)
CIE-LABlab(53.57, -43.67, 45.22)
CIE-LCHlch(53.57, 62.86, 134.00°)
OKLaboklab(58.52% -0.1201 0.1031)
OKLCHoklch(58.52% 0.158 139.4)
XYZxyz(12.7896, 21.5752, 5.6805)
Luminance0.2158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42912A #792A91
analogous
#76912A #42912A #2A9146
triadic
#42912A #2A4291 #912A42
tetradic
#42912A #2A7691 #792A91 #91462A
square
#42912A #2A7691 #792A91 #91462A
split-complementary
#42912A #462A91 #912A76
monochromatic
#17320F #2C621C #42912A #58C038 #7DD263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42912A#FFFFFF#000000##000000
##42912A1.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)
#95841A
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#3A8C7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #42912a;
/* rgb */ color: rgb(66, 145, 42);
/* oklch */ color: oklch(58.5% 0.158 139.4);
Tailwind
colors: {
  custom: {
    50: '#7fb26a',
    500: '#42912a',
    950: '#000000',
  },
}
SCSS
$custom: #42912a;
$custom-light: #7fb26a;
$custom-dark: #000000;
JSON
{
  "hex": "#42912a",
  "rgb": {
    "r": 66,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 106.019,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.15825,
    "h": 139.4
  },
  "luminance": 0.21576
}

Semantic roles & 50–950 ramp

primary
#42912A
secondary
#A35FB8
accent
#49DEBC
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42912A

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

Preview Lab → · Contrast checker → · Palette generator →

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