#2A9628#2A9628

#2A9628 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.175 H 142.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A9628
RGBrgb(42, 150, 40)
HSLhsl(119, 58%, 37%)
HSVhsv(119, 73%, 59%)
CMYKcmyk(72%, 0%, 73.3%, 41.2%)
CIE-LABlab(54.51, -51.40, 46.76)
CIE-LCHlch(54.51, 69.49, 137.70°)
OKLaboklab(59.09% -0.1396 0.1062)
OKLCHoklch(59.09% 0.175 142.7)
XYZxyz(12.2435, 22.4568, 5.6964)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9628 #942896
analogous
#619628 #2A9628 #28965D
triadic
#2A9628 #282A96 #96282A
tetradic
#2A9628 #286196 #942896 #965D28
square
#2A9628 #286196 #942896 #965D28
split-complementary
#2A9628 #5D2896 #962861
monochromatic
#0F350E #1C661B #2A9628 #38C635 #65D563

Accessibility & contrast

On white

3.82
#2A9628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#2A9628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9628
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9628#FFFFFF#000000##000000
##2A96281.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998815
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#069180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9628;
/* rgb */ color: rgb(42, 150, 40);
/* oklch */ color: oklch(59.1% 0.175 142.7);
Tailwind
colors: {
  custom: {
    50: '#75b669',
    500: '#2a9628',
    950: '#000000',
  },
}
SCSS
$custom: #2a9628;
$custom-light: #75b669;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9628",
  "rgb": {
    "r": 42,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 118.909,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59092,
    "c": 0.17546,
    "h": 142.7
  },
  "luminance": 0.22458
}

Semantic roles & 50–950 ramp

primary
#2A9628
secondary
#B95FBB
accent
#47E1DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9628

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

Preview Lab → · Contrast checker → · Palette generator →

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