#2D9938#2D9938

#2D9938 is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.2% C 0.167 H 144.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2D9938
RGBrgb(45, 153, 56)
HSLhsl(126, 55%, 39%)
HSVhsv(126, 71%, 60%)
CMYKcmyk(70.6%, 0%, 63.4%, 40%)
CIE-LABlab(55.71, -50.25, 41.27)
CIE-LCHlch(55.71, 65.03, 140.61°)
OKLaboklab(60.15% -0.1359 0.0965)
OKLCHoklch(60.15% 0.167 144.6)
XYZxyz(13.1864, 23.6244, 7.6057)
Luminance0.2363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9938 #992D8E
analogous
#58992D #2D9938 #2D996E
triadic
#2D9938 #382D99 #99382D
tetradic
#2D9938 #2D5899 #992D8E #996E2D
square
#2D9938 #2D5899 #992D8E #996E2D
split-complementary
#2D9938 #6E2D99 #992D58
monochromatic
#113A15 #1F6A27 #2D9938 #3DC64B #6CD477

Accessibility & contrast

On white

3.67
#2D9938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#2D9938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9938
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9938#FFFFFF#000000##000000
##2D99381.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2D
Deuteranopia (green-blind)
#8F8240
Tritanopia (blue-blind)
#059584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2d9938;
/* rgb */ color: rgb(45, 153, 56);
/* oklch */ color: oklch(60.2% 0.167 144.6);
Tailwind
colors: {
  custom: {
    50: '#76b872',
    500: '#2d9938',
    950: '#000000',
  },
}
SCSS
$custom: #2d9938;
$custom-light: #76b872;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9938",
  "rgb": {
    "r": 45,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 126.111,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60151,
    "c": 0.16669,
    "h": 144.6
  },
  "luminance": 0.23626
}

Semantic roles & 50–950 ramp

primary
#2D9938
secondary
#BB67B2
accent
#4ACFDE
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #2D9938

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

Preview Lab → · Contrast checker → · Palette generator →

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