#2A9534#2A9534

#2A9534 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.166 H 144.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2A9534
RGBrgb(42, 149, 52)
HSLhsl(126, 56%, 37%)
HSVhsv(126, 72%, 58%)
CMYKcmyk(71.8%, 0%, 65.1%, 41.6%)
CIE-LABlab(54.27, -49.85, 41.46)
CIE-LCHlch(54.27, 64.84, 140.25°)
OKLaboklab(58.93% -0.1349 0.0965)
OKLCHoklch(58.93% 0.166 144.4)
XYZxyz(12.3213, 22.2337, 6.8903)
Luminance0.2223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9534 #952A8B
analogous
#56952A #2A9534 #2A9569
triadic
#2A9534 #342A95 #95342A
tetradic
#2A9534 #2A5695 #952A8B #95692A
square
#2A9534 #2A5695 #952A8B #95692A
split-complementary
#2A9534 #692A95 #952A56
monochromatic
#0F3613 #1D6523 #2A9534 #37C545 #66D470

Accessibility & contrast

On white

3.86
#2A9534 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#2A9534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9534
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9534#FFFFFF#000000##000000
##2A95341.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988728
Deuteranopia (green-blind)
#8B7E3C
Tritanopia (blue-blind)
#009181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9534;
/* rgb */ color: rgb(42, 149, 52);
/* oklch */ color: oklch(58.9% 0.166 144.4);
Tailwind
colors: {
  custom: {
    50: '#74b570',
    500: '#2a9534',
    950: '#000000',
  },
}
SCSS
$custom: #2a9534;
$custom-light: #74b570;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9534",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 52
  },
  "hsl": {
    "h": 125.607,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5893,
    "c": 0.16584,
    "h": 144.4
  },
  "luminance": 0.22235
}

Semantic roles & 50–950 ramp

primary
#2A9534
secondary
#BA61B2
accent
#48D1DF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A9534

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

Preview Lab → · Contrast checker → · Palette generator →

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