#42942B#42942B

#42942B is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.3% C 0.161 H 139.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#42942B
RGBrgb(66, 148, 43)
HSLhsl(107, 55%, 37%)
HSVhsv(107, 71%, 58%)
CMYKcmyk(55.4%, 0%, 70.9%, 42%)
CIE-LABlab(54.57, -44.76, 45.85)
CIE-LCHlch(54.57, 64.08, 134.31°)
OKLaboklab(59.34% -0.123 0.1045)
OKLCHoklch(59.34% 0.161 139.6)
XYZxyz(13.2722, 22.5114, 5.9308)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42942B #7D2B94
analogous
#77942B #42942B #2B9448
triadic
#42942B #2B4294 #942B42
tetradic
#42942B #2B7794 #7D2B94 #94482B
square
#42942B #2B7794 #7D2B94 #94482B
split-complementary
#42942B #482B94 #942B77
monochromatic
#18350F #2D651D #42942B #57C339 #7ED367

Accessibility & contrast

On white

3.82
#42942B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#42942B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42942B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42942B#FFFFFF#000000##000000
##42942B1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42942b;
/* rgb */ color: rgb(66, 148, 43);
/* oklch */ color: oklch(59.3% 0.161 139.6);
Tailwind
colors: {
  custom: {
    50: '#7fb46a',
    500: '#42942b',
    950: '#000000',
  },
}
SCSS
$custom: #42942b;
$custom-light: #7fb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#42942b",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 106.857,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.16139,
    "h": 139.6
  },
  "luminance": 0.22512
}

Semantic roles & 50–950 ramp

primary
#42942B
secondary
#A662B9
accent
#49DEBE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42942B

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

Preview Lab → · Contrast checker → · Palette generator →

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