#2D9226#2D9226

#2D9226 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.0% C 0.171 H 142.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2D9226
RGBrgb(45, 146, 38)
HSLhsl(116, 59%, 36%)
HSVhsv(116, 74%, 57%)
CMYKcmyk(69.2%, 0%, 74%, 42.7%)
CIE-LABlab(53.23, -49.59, 46.25)
CIE-LCHlch(53.23, 67.81, 137.00°)
OKLaboklab(58.05% -0.135 0.1049)
OKLCHoklch(58.05% 0.171 142.2)
XYZxyz(11.7103, 21.2544, 5.3187)
Luminance0.2126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9226 #8B2692
analogous
#639226 #2D9226 #269255
triadic
#2D9226 #262D92 #92262D
tetradic
#2D9226 #266392 #8B2692 #925526
square
#2D9226 #266392 #8B2692 #925526
split-complementary
#2D9226 #552692 #922663
monochromatic
#0F310D #1E6119 #2D9226 #3CC333 #65D55D

Accessibility & contrast

On white

4.00
#2D9226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#2D9226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9226
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9226#FFFFFF#000000##000000
##2D92261.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958413
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#158D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2d9226;
/* rgb */ color: rgb(45, 146, 38);
/* oklch */ color: oklch(58.0% 0.171 142.2);
Tailwind
colors: {
  custom: {
    50: '#75b367',
    500: '#2d9226',
    950: '#000000',
  },
}
SCSS
$custom: #2d9226;
$custom-light: #75b367;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9226",
  "rgb": {
    "r": 45,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 116.111,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58045,
    "c": 0.17097,
    "h": 142.2
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

primary
#2D9226
secondary
#B45ABA
accent
#46E2D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D9226

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

Preview Lab → · Contrast checker → · Palette generator →

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