#42902B#42902B

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

Color values

HEX#42902B
RGBrgb(66, 144, 43)
HSLhsl(106, 54%, 37%)
HSVhsv(106, 70%, 56%)
CMYKcmyk(54.2%, 0%, 70.1%, 43.5%)
CIE-LABlab(53.25, -43.18, 44.47)
CIE-LCHlch(53.25, 61.99, 134.16°)
OKLaboklab(58.26% -0.1187 0.1016)
OKLCHoklch(58.26% 0.156 139.4)
XYZxyz(12.6556, 21.2782, 5.7252)
Luminance0.2128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42902B #792B90
analogous
#75902B #42902B #2B9047
triadic
#42902B #2B4290 #902B42
tetradic
#42902B #2B7590 #792B90 #90472B
square
#42902B #2B7590 #792B90 #90472B
split-complementary
#42902B #472B90 #902B75
monochromatic
#17320F #2C611D #42902B #58BF39 #7DD165

Accessibility & contrast

On white

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

On black

5.26
#42902B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42902B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42902B#FFFFFF#000000##000000
##42902B1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42902b;
/* rgb */ color: rgb(66, 144, 43);
/* oklch */ color: oklch(58.3% 0.156 139.4);
Tailwind
colors: {
  custom: {
    50: '#7eb16a',
    500: '#42902b',
    950: '#000000',
  },
}
SCSS
$custom: #42902b;
$custom-light: #7eb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#42902b",
  "rgb": {
    "r": 66,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 106.337,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58262,
    "c": 0.15626,
    "h": 139.4
  },
  "luminance": 0.21279
}

Semantic roles & 50–950 ramp

primary
#42902B
secondary
#A360B7
accent
#4ADDBC
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42902B

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

Preview Lab → · Contrast checker → · Palette generator →

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