#2A9F34#2A9F34

#2A9F34 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.7% C 0.178 H 144.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2A9F34
RGBrgb(42, 159, 52)
HSLhsl(125, 58%, 39%)
HSVhsv(125, 74%, 62%)
CMYKcmyk(73.6%, 0%, 67.3%, 37.6%)
CIE-LABlab(57.59, -53.33, 45.12)
CIE-LCHlch(57.59, 69.85, 139.77°)
OKLaboklab(61.68% -0.1443 0.1043)
OKLCHoklch(61.68% 0.178 144.2)
XYZxyz(13.9719, 25.5349, 7.4405)
Luminance0.2554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9F34 #9F2A95
analogous
#5B9F2A #2A9F34 #2A9F6F
triadic
#2A9F34 #342A9F #9F342A
tetradic
#2A9F34 #2A5B9F #9F2A95 #9F6F2A
square
#2A9F34 #2A5B9F #9F2A95 #9F6F2A
split-complementary
#2A9F34 #6F2A9F #9F2A5B
monochromatic
#103E14 #1D6F24 #2A9F34 #3BCB47 #6BD875

Accessibility & contrast

On white

3.44
#2A9F34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#2A9F34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9F34
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9F34#FFFFFF#000000##000000
##2A9F341.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29026
Deuteranopia (green-blind)
#95873E
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9f34;
/* rgb */ color: rgb(42, 159, 52);
/* oklch */ color: oklch(61.7% 0.178 144.2);
Tailwind
colors: {
  custom: {
    50: '#76bc71',
    500: '#2a9f34',
    950: '#000000',
  },
}
SCSS
$custom: #2a9f34;
$custom-light: #76bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9f34",
  "rgb": {
    "r": 42,
    "g": 159,
    "b": 52
  },
  "hsl": {
    "h": 125.128,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61681,
    "c": 0.17802,
    "h": 144.2
  },
  "luminance": 0.25536
}

Semantic roles & 50–950 ramp

primary
#2A9F34
secondary
#BF66B7
accent
#46D4E1
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2A9F34

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

Preview Lab → · Contrast checker → · Palette generator →

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