#2D9A27#2D9A27

#2D9A27 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.180 H 142.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2D9A27
RGBrgb(45, 154, 39)
HSLhsl(117, 60%, 38%)
HSVhsv(117, 75%, 60%)
CMYKcmyk(70.8%, 0%, 74.7%, 39.6%)
CIE-LABlab(55.90, -52.28, 48.58)
CIE-LCHlch(55.90, 71.37, 137.10°)
OKLaboklab(60.27% -0.1422 0.1099)
OKLCHoklch(60.27% 0.18 142.3)
XYZxyz(13.0032, 23.8142, 5.8304)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9A27 #94279A
analogous
#669A27 #2D9A27 #279A5B
triadic
#2D9A27 #272D9A #9A272D
tetradic
#2D9A27 #27669A #94279A #9A5B27
square
#2D9A27 #27669A #94279A #9A5B27
split-complementary
#2D9A27 #5B279A #9A2766
monochromatic
#10380E #1F691B #2D9A27 #3BCB33 #6AD864

Accessibility & contrast

On white

3.64
#2D9A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#2D9A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9A27
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9A27#FFFFFF#000000##000000
##2D9A271.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B11
Deuteranopia (green-blind)
#918333
Tritanopia (blue-blind)
#0E9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2d9a27;
/* rgb */ color: rgb(45, 154, 39);
/* oklch */ color: oklch(60.3% 0.180 142.3);
Tailwind
colors: {
  custom: {
    50: '#77b969',
    500: '#2d9a27',
    950: '#000000',
  },
}
SCSS
$custom: #2d9a27;
$custom-light: #77b969;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9a27",
  "rgb": {
    "r": 45,
    "g": 154,
    "b": 39
  },
  "hsl": {
    "h": 116.87,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60265,
    "c": 0.17975,
    "h": 142.3
  },
  "luminance": 0.23816
}

Semantic roles & 50–950 ramp

primary
#2D9A27
secondary
#B85FBD
accent
#45E3DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2D9A27

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

Preview Lab → · Contrast checker → · Palette generator →

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