#42902A#42902A

#42902A is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.3% C 0.157 H 139.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#42902A
RGBrgb(66, 144, 42)
HSLhsl(106, 55%, 36%)
HSVhsv(106, 71%, 56%)
CMYKcmyk(54.2%, 0%, 70.8%, 43.5%)
CIE-LABlab(53.24, -43.27, 44.88)
CIE-LCHlch(53.24, 62.34, 133.96°)
OKLaboklab(58.25% -0.119 0.1024)
OKLCHoklch(58.25% 0.157 139.3)
XYZxyz(12.6374, 21.2709, 5.6298)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42902A #782A90
analogous
#75902A #42902A #2A9045
triadic
#42902A #2A4290 #902A42
tetradic
#42902A #2A7590 #782A90 #90452A
square
#42902A #2A7590 #782A90 #90452A
split-complementary
#42902A #452A90 #902A75
monochromatic
#17310E #2C611C #42902A #58BF38 #7DD163

Accessibility & contrast

On white

4.00
#42902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#42902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42902A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42902A#FFFFFF#000000##000000
##42902A1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#3A8B7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #42902a;
/* rgb */ color: rgb(66, 144, 42);
/* oklch */ color: oklch(58.3% 0.157 139.3);
Tailwind
colors: {
  custom: {
    50: '#7eb169',
    500: '#42902a',
    950: '#000000',
  },
}
SCSS
$custom: #42902a;
$custom-light: #7eb169;
$custom-dark: #000000;
JSON
{
  "hex": "#42902a",
  "rgb": {
    "r": 66,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 105.882,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58253,
    "c": 0.15696,
    "h": 139.3
  },
  "luminance": 0.21272
}

Semantic roles & 50–950 ramp

primary
#42902A
secondary
#A25EB7
accent
#4ADEBB
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42902A

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

Preview Lab → · Contrast checker → · Palette generator →

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