#2A9226#2A9226

#2A9226 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.172 H 142.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2A9226
RGBrgb(42, 146, 38)
HSLhsl(118, 59%, 36%)
HSVhsv(118, 74%, 57%)
CMYKcmyk(71.2%, 0%, 74%, 42.7%)
CIE-LABlab(53.16, -50.19, 46.15)
CIE-LCHlch(53.16, 68.18, 137.40°)
OKLaboklab(57.97% -0.1365 0.1047)
OKLCHoklch(57.97% 0.172 142.5)
XYZxyz(11.5829, 21.1887, 5.3127)
Luminance0.2119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9226 #8E2692
analogous
#609226 #2A9226 #269258
triadic
#2A9226 #262A92 #92262A
tetradic
#2A9226 #266092 #8E2692 #925826
square
#2A9226 #266092 #8E2692 #925826
split-complementary
#2A9226 #582692 #922660
monochromatic
#0E310D #1C6119 #2A9226 #38C333 #62D55D

Accessibility & contrast

On white

4.01
#2A9226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#2A9226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9226
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9226#FFFFFF#000000##000000
##2A92261.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958413
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#0C8E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9226;
/* rgb */ color: rgb(42, 146, 38);
/* oklch */ color: oklch(58.0% 0.172 142.5);
Tailwind
colors: {
  custom: {
    50: '#74b367',
    500: '#2a9226',
    950: '#000000',
  },
}
SCSS
$custom: #2a9226;
$custom-light: #74b367;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9226",
  "rgb": {
    "r": 42,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 117.778,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.172,
    "h": 142.5
  },
  "luminance": 0.2119
}

Semantic roles & 50–950 ramp

primary
#2A9226
secondary
#B65ABA
accent
#46E2DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9226

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

Preview Lab → · Contrast checker → · Palette generator →

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