#42942A#42942A

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

Color values

HEX#42942A
RGBrgb(66, 148, 42)
HSLhsl(106, 56%, 37%)
HSVhsv(106, 72%, 58%)
CMYKcmyk(55.4%, 0%, 71.6%, 42%)
CIE-LABlab(54.56, -44.85, 46.25)
CIE-LCHlch(54.56, 64.42, 134.12°)
OKLaboklab(59.34% -0.1233 0.1052)
OKLCHoklch(59.34% 0.162 139.5)
XYZxyz(13.2540, 22.5042, 5.8353)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42942A #7C2A94
analogous
#77942A #42942A #2A9447
triadic
#42942A #2A4294 #942A42
tetradic
#42942A #2A7794 #7C2A94 #94472A
square
#42942A #2A7794 #7C2A94 #94472A
split-complementary
#42942A #472A94 #942A77
monochromatic
#17350F #2D641C #42942A #57C438 #7ED365

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42942A#FFFFFF#000000##000000
##42942A1.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)
#988719
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#398F7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #42942a;
/* rgb */ color: rgb(66, 148, 42);
/* oklch */ color: oklch(59.3% 0.162 139.5);
Tailwind
colors: {
  custom: {
    50: '#7fb46a',
    500: '#42942a',
    950: '#000000',
  },
}
SCSS
$custom: #42942a;
$custom-light: #7fb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#42942a",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 106.415,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59335,
    "c": 0.16206,
    "h": 139.5
  },
  "luminance": 0.22505
}

Semantic roles & 50–950 ramp

primary
#42942A
secondary
#A560B9
accent
#49DFBD
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42942A

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

Preview Lab → · Contrast checker → · Palette generator →

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