#2B9538#2B9538

#2B9538 is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.162 H 145.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2B9538
RGBrgb(43, 149, 56)
HSLhsl(127, 55%, 38%)
HSVhsv(127, 71%, 58%)
CMYKcmyk(71.1%, 0%, 62.4%, 41.6%)
CIE-LABlab(54.34, -49.20, 39.70)
CIE-LCHlch(54.34, 63.22, 141.10°)
OKLaboklab(59% -0.133 0.0931)
OKLCHoklch(59% 0.162 145)
XYZxyz(12.4567, 22.2926, 7.3870)
Luminance0.2229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9538 #952B88
analogous
#53952B #2B9538 #2B956D
triadic
#2B9538 #382B95 #95382B
tetradic
#2B9538 #2B5395 #952B88 #956D2B
square
#2B9538 #2B5395 #952B88 #956D2B
split-complementary
#2B9538 #6D2B95 #952B53
monochromatic
#103614 #1D6626 #2B9538 #39C44A #67D374

Accessibility & contrast

On white

3.85
#2B9538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#2B9538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9538
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9538#FFFFFF#000000##000000
##2B95381.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872E
Deuteranopia (green-blind)
#8B7F40
Tritanopia (blue-blind)
#019181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2b9538;
/* rgb */ color: rgb(43, 149, 56);
/* oklch */ color: oklch(59.0% 0.162 145.0);
Tailwind
colors: {
  custom: {
    50: '#74b572',
    500: '#2b9538',
    950: '#000000',
  },
}
SCSS
$custom: #2b9538;
$custom-light: #74b572;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9538",
  "rgb": {
    "r": 43,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 127.358,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59,
    "c": 0.16233,
    "h": 145
  },
  "luminance": 0.22294
}

Semantic roles & 50–950 ramp

primary
#2B9538
secondary
#BA62AF
accent
#49CCDF
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2B9538

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

Preview Lab → · Contrast checker → · Palette generator →

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