#2D9438#2D9438

#2D9438 is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.8% C 0.160 H 144.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2D9438
RGBrgb(45, 148, 56)
HSLhsl(126, 53%, 38%)
HSVhsv(126, 70%, 58%)
CMYKcmyk(69.6%, 0%, 62.2%, 42%)
CIE-LABlab(54.05, -48.45, 39.38)
CIE-LCHlch(54.05, 62.44, 140.89°)
OKLaboklab(58.78% -0.131 0.0925)
OKLCHoklch(58.78% 0.16 144.8)
XYZxyz(12.3851, 22.0219, 7.3386)
Luminance0.2202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9438 #942D89
analogous
#55942D #2D9438 #2D946C
triadic
#2D9438 #382D94 #94382D
tetradic
#2D9438 #2D5594 #942D89 #946C2D
square
#2D9438 #2D5594 #942D89 #946C2D
split-complementary
#2D9438 #6C2D94 #942D55
monochromatic
#103614 #1F6526 #2D9438 #3BC34A #6AD275

Accessibility & contrast

On white

3.89
#2D9438 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#2D9438 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9438
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9438#FFFFFF#000000##000000
##2D94381.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97862E
Deuteranopia (green-blind)
#8A7E40
Tritanopia (blue-blind)
#0A9080
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2d9438;
/* rgb */ color: rgb(45, 148, 56);
/* oklch */ color: oklch(58.8% 0.160 144.8);
Tailwind
colors: {
  custom: {
    50: '#74b472',
    500: '#2d9438',
    950: '#000000',
  },
}
SCSS
$custom: #2d9438;
$custom-light: #74b472;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9438",
  "rgb": {
    "r": 45,
    "g": 148,
    "b": 56
  },
  "hsl": {
    "h": 126.408,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58777,
    "c": 0.16037,
    "h": 144.8
  },
  "luminance": 0.22023
}

Semantic roles & 50–950 ramp

primary
#2D9438
secondary
#B864AF
accent
#4BCDDD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2D9438

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

Preview Lab → · Contrast checker → · Palette generator →

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