#42942D#42942D

#42942D is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.4% C 0.160 H 139.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#42942D
RGBrgb(66, 148, 45)
HSLhsl(108, 53%, 38%)
HSVhsv(108, 70%, 58%)
CMYKcmyk(55.4%, 0%, 69.6%, 42%)
CIE-LABlab(54.58, -44.58, 45.04)
CIE-LCHlch(54.58, 63.38, 134.71°)
OKLaboklab(59.36% -0.1224 0.1031)
OKLCHoklch(59.36% 0.16 139.9)
XYZxyz(13.3098, 22.5264, 6.1288)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42942D #7F2D94
analogous
#75942D #42942D #2D944B
triadic
#42942D #2D4294 #942D42
tetradic
#42942D #2D7594 #7F2D94 #944B2D
square
#42942D #2D7594 #7F2D94 #944B2D
split-complementary
#42942D #4B2D94 #942D75
monochromatic
#183610 #2D651F #42942D #57C33B #7FD26A

Accessibility & contrast

On white

3.81
#42942D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#42942D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42942D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42942D#FFFFFF#000000##000000
##42942D1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871E
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#398F7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42942d;
/* rgb */ color: rgb(66, 148, 45);
/* oklch */ color: oklch(59.4% 0.160 139.9);
Tailwind
colors: {
  custom: {
    50: '#7fb46c',
    500: '#42942d',
    950: '#000000',
  },
}
SCSS
$custom: #42942d;
$custom-light: #7fb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#42942d",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 107.767,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59361,
    "c": 0.16,
    "h": 139.9
  },
  "luminance": 0.22528
}

Semantic roles & 50–950 ramp

primary
#42942D
secondary
#A764B8
accent
#4BDDBF
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42942D

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

Preview Lab → · Contrast checker → · Palette generator →

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