#2A9627#2A9627

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

Color values

HEX#2A9627
RGBrgb(42, 150, 39)
HSLhsl(118, 59%, 37%)
HSVhsv(118, 74%, 59%)
CMYKcmyk(72%, 0%, 74%, 41.2%)
CIE-LABlab(54.50, -51.48, 47.14)
CIE-LCHlch(54.50, 69.81, 137.52°)
OKLaboklab(59.08% -0.1399 0.1069)
OKLCHoklch(59.08% 0.176 142.6)
XYZxyz(12.2267, 22.4501, 5.6080)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9627 #932796
analogous
#629627 #2A9627 #27965B
triadic
#2A9627 #272A96 #96272A
tetradic
#2A9627 #276296 #932796 #965B27
square
#2A9627 #276296 #932796 #965B27
split-complementary
#2A9627 #5B2796 #962762
monochromatic
#0F350E #1C651A #2A9627 #38C734 #65D661

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9627#FFFFFF#000000##000000
##2A96271.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)
#998813
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#079180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9627;
/* rgb */ color: rgb(42, 150, 39);
/* oklch */ color: oklch(59.1% 0.176 142.6);
Tailwind
colors: {
  custom: {
    50: '#75b668',
    500: '#2a9627',
    950: '#000000',
  },
}
SCSS
$custom: #2a9627;
$custom-light: #75b668;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9627",
  "rgb": {
    "r": 42,
    "g": 150,
    "b": 39
  },
  "hsl": {
    "h": 118.378,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59084,
    "c": 0.17608,
    "h": 142.6
  },
  "luminance": 0.22451
}

Semantic roles & 50–950 ramp

primary
#2A9627
secondary
#B95DBC
accent
#46E2DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9627

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

Preview Lab → · Contrast checker → · Palette generator →

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