#2A9236#2A9236

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

Color values

HEX#2A9236
RGBrgb(42, 146, 54)
HSLhsl(127, 55%, 37%)
HSVhsv(127, 71%, 57%)
CMYKcmyk(71.2%, 0%, 63%, 42.7%)
CIE-LABlab(53.29, -48.55, 39.44)
CIE-LCHlch(53.29, 62.55, 140.91°)
OKLaboklab(58.12% -0.1312 0.0924)
OKLCHoklch(58.12% 0.161 144.9)
XYZxyz(11.8988, 21.3151, 6.9764)
Luminance0.2132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9236 #922A86
analogous
#52922A #2A9236 #2A926A
triadic
#2A9236 #362A92 #92362A
tetradic
#2A9236 #2A5292 #922A86 #926A2A
square
#2A9236 #2A5292 #922A86 #926A2A
split-complementary
#2A9236 #6A2A92 #922A52
monochromatic
#0F3313 #1C6224 #2A9236 #38C248 #64D271

Accessibility & contrast

On white

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

On black

5.26
#2A9236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9236
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9236#FFFFFF#000000##000000
##2A92361.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95842C
Deuteranopia (green-blind)
#887C3E
Tritanopia (blue-blind)
#018E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9236;
/* rgb */ color: rgb(42, 146, 54);
/* oklch */ color: oklch(58.1% 0.161 144.9);
Tailwind
colors: {
  custom: {
    50: '#73b371',
    500: '#2a9236',
    950: '#000000',
  },
}
SCSS
$custom: #2a9236;
$custom-light: #73b371;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9236",
  "rgb": {
    "r": 42,
    "g": 146,
    "b": 54
  },
  "hsl": {
    "h": 126.923,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58123,
    "c": 0.16051,
    "h": 144.9
  },
  "luminance": 0.21316
}

Semantic roles & 50–950 ramp

primary
#2A9236
secondary
#B85FAE
accent
#49CDDF
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A9236

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

Preview Lab → · Contrast checker → · Palette generator →

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