#42942F#42942F

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

Color values

HEX#42942F
RGBrgb(66, 148, 47)
HSLhsl(109, 52%, 38%)
HSVhsv(109, 68%, 58%)
CMYKcmyk(55.4%, 0%, 68.2%, 42%)
CIE-LABlab(54.60, -44.40, 44.22)
CIE-LCHlch(54.60, 62.66, 135.12°)
OKLaboklab(59.38% -0.1217 0.1016)
OKLCHoklch(59.38% 0.159 140.2)
XYZxyz(13.3492, 22.5422, 6.3364)
Luminance0.2254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42942F #812F94
analogous
#74942F #42942F #2F944E
triadic
#42942F #2F4294 #942F42
tetradic
#42942F #2F7494 #812F94 #944E2F
square
#42942F #2F7494 #812F94 #944E2F
split-complementary
#42942F #4E2F94 #942F74
monochromatic
#193711 #2D6620 #42942F #57C23E #80D16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42942F#FFFFFF#000000##000000
##42942F1.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)
#988721
Deuteranopia (green-blind)
#8D8038
Tritanopia (blue-blind)
#398F7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42942f;
/* rgb */ color: rgb(66, 148, 47);
/* oklch */ color: oklch(59.4% 0.159 140.2);
Tailwind
colors: {
  custom: {
    50: '#7fb46d',
    500: '#42942f',
    950: '#000000',
  },
}
SCSS
$custom: #42942f;
$custom-light: #7fb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#42942f",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 108.713,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.15856,
    "h": 140.2
  },
  "luminance": 0.22543
}

Semantic roles & 50–950 ramp

primary
#42942F
secondary
#A967B8
accent
#4DDBC0
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42942F

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

Preview Lab → · Contrast checker → · Palette generator →

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