#2B9938#2B9938

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

Color values

HEX#2B9938
RGBrgb(43, 153, 56)
HSLhsl(127, 56%, 38%)
HSVhsv(127, 72%, 60%)
CMYKcmyk(71.9%, 0%, 63.4%, 40%)
CIE-LABlab(55.66, -50.62, 41.21)
CIE-LCHlch(55.66, 65.27, 140.85°)
OKLaboklab(60.1% -0.1368 0.0964)
OKLCHoklch(60.1% 0.167 144.8)
XYZxyz(13.1004, 23.5801, 7.6016)
Luminance0.2358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9938 #992B8C
analogous
#55992B #2B9938 #2B996F
triadic
#2B9938 #382B99 #99382B
tetradic
#2B9938 #2B5599 #992B8C #996F2B
square
#2B9938 #2B5599 #992B8C #996F2B
split-complementary
#2B9938 #6F2B99 #992B55
monochromatic
#103915 #1E6927 #2B9938 #3AC84A #69D576

Accessibility & contrast

On white

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

On black

5.72
#2B9938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9938
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9938#FFFFFF#000000##000000
##2B99381.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b9938;
/* rgb */ color: rgb(43, 153, 56);
/* oklch */ color: oklch(60.1% 0.167 144.8);
Tailwind
colors: {
  custom: {
    50: '#75b872',
    500: '#2b9938',
    950: '#000000',
  },
}
SCSS
$custom: #2b9938;
$custom-light: #75b872;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9938",
  "rgb": {
    "r": 43,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 127.091,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60101,
    "c": 0.16736,
    "h": 144.8
  },
  "luminance": 0.23582
}

Semantic roles & 50–950 ramp

primary
#2B9938
secondary
#BC64B1
accent
#48CEDF
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2B9938

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

Preview Lab → · Contrast checker → · Palette generator →

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