#42942E#42942E

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

Color values

HEX#42942E
RGBrgb(66, 148, 46)
HSLhsl(108, 53%, 38%)
HSVhsv(108, 69%, 58%)
CMYKcmyk(55.4%, 0%, 68.9%, 42%)
CIE-LABlab(54.59, -44.49, 44.63)
CIE-LCHlch(54.59, 63.02, 134.91°)
OKLaboklab(59.37% -0.122 0.1024)
OKLCHoklch(59.37% 0.159 140)
XYZxyz(13.3292, 22.5342, 6.2314)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42942E #802E94
analogous
#75942E #42942E #2E944D
triadic
#42942E #2E4294 #942E42
tetradic
#42942E #2E7594 #802E94 #944D2E
square
#42942E #2E7594 #802E94 #944D2E
split-complementary
#42942E #4D2E94 #942E75
monochromatic
#183711 #2D651F #42942E #57C33D #7FD16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42942E#FFFFFF#000000##000000
##42942E1.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)
#988720
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#398F7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42942e;
/* rgb */ color: rgb(66, 148, 46);
/* oklch */ color: oklch(59.4% 0.159 140.0);
Tailwind
colors: {
  custom: {
    50: '#7fb46c',
    500: '#42942e',
    950: '#000000',
  },
}
SCSS
$custom: #42942e;
$custom-light: #7fb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#42942e",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 108.235,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59371,
    "c": 0.15929,
    "h": 140
  },
  "luminance": 0.22535
}

Semantic roles & 50–950 ramp

primary
#42942E
secondary
#A866B8
accent
#4CDCC0
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42942E

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

Preview Lab → · Contrast checker → · Palette generator →

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