#2A9843#2A9843

#2A9843 is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.9% C 0.157 H 147.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2A9843
RGBrgb(42, 152, 67)
HSLhsl(134, 57%, 38%)
HSVhsv(134, 72%, 60%)
CMYKcmyk(72.4%, 0%, 55.9%, 40.4%)
CIE-LABlab(55.43, -49.01, 35.65)
CIE-LCHlch(55.43, 60.60, 143.96°)
OKLaboklab(59.94% -0.132 0.0853)
OKLCHoklch(59.94% 0.157 147.2)
XYZxyz(13.1952, 23.3525, 9.1212)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9843 #982A7F
analogous
#48982A #2A9843 #2A987A
triadic
#2A9843 #432A98 #98432A
tetradic
#2A9843 #2A4898 #982A7F #987A2A
square
#2A9843 #2A4898 #982A7F #987A2A
split-complementary
#2A9843 #7A2A98 #982A48
monochromatic
#103819 #1D682E #2A9843 #37C858 #67D580

Accessibility & contrast

On white

3.70
#2A9843 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#2A9843 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9843
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9843#FFFFFF#000000##000000
##2A98431.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A3B
Deuteranopia (green-blind)
#8D814A
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9843;
/* rgb */ color: rgb(42, 152, 67);
/* oklch */ color: oklch(59.9% 0.157 147.2);
Tailwind
colors: {
  custom: {
    50: '#74b779',
    500: '#2a9843',
    950: '#000000',
  },
}
SCSS
$custom: #2a9843;
$custom-light: #74b779;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9843",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 67
  },
  "hsl": {
    "h": 133.636,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59943,
    "c": 0.15716,
    "h": 147.2
  },
  "luminance": 0.23354
}

Semantic roles & 50–950 ramp

primary
#2A9843
secondary
#BB62A7
accent
#48BDE0
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9843

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

Preview Lab → · Contrast checker → · Palette generator →

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