#2A9237#2A9237

#2A9237 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.1% C 0.160 H 145.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2A9237
RGBrgb(42, 146, 55)
HSLhsl(128, 55%, 37%)
HSVhsv(128, 71%, 57%)
CMYKcmyk(71.2%, 0%, 62.3%, 42.7%)
CIE-LABlab(53.30, -48.43, 38.98)
CIE-LCHlch(53.30, 62.17, 141.17°)
OKLaboklab(58.14% -0.1309 0.0915)
OKLCHoklch(58.14% 0.16 145)
XYZxyz(11.9225, 21.3245, 7.1014)
Luminance0.2133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9237 #922A85
analogous
#51922A #2A9237 #2A926B
triadic
#2A9237 #372A92 #92372A
tetradic
#2A9237 #2A5192 #922A85 #926B2A
square
#2A9237 #2A5192 #922A85 #926B2A
split-complementary
#2A9237 #6B2A92 #922A51
monochromatic
#0F3313 #1C6225 #2A9237 #38C249 #64D272

Accessibility & contrast

On white

3.99
#2A9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#2A9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9237
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9237#FFFFFF#000000##000000
##2A92371.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842D
Deuteranopia (green-blind)
#887C3F
Tritanopia (blue-blind)
#018E7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9237;
/* rgb */ color: rgb(42, 146, 55);
/* oklch */ color: oklch(58.1% 0.160 145.0);
Tailwind
colors: {
  custom: {
    50: '#73b371',
    500: '#2a9237',
    950: '#000000',
  },
}
SCSS
$custom: #2a9237;
$custom-light: #73b371;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9237",
  "rgb": {
    "r": 42,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 127.5,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58135,
    "c": 0.15969,
    "h": 145
  },
  "luminance": 0.21326
}

Semantic roles & 50–950 ramp

primary
#2A9237
secondary
#B85FAD
accent
#49CCDF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A9237

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

Preview Lab → · Contrast checker → · Palette generator →

#2A9237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva