#2B8045#2B8045

#2B8045 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.122 H 150.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2B8045
RGBrgb(43, 128, 69)
HSLhsl(138, 50%, 34%)
HSVhsv(138, 66%, 50%)
CMYKcmyk(66.4%, 0%, 46.1%, 49.8%)
CIE-LABlab(47.47, -39.21, 24.71)
CIE-LCHlch(47.47, 46.35, 147.77°)
OKLaboklab(53.38% -0.1058 0.0608)
OKLCHoklch(53.38% 0.122 150.1)
XYZxyz(9.7889, 16.3806, 8.2750)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8045 #802B66
analogous
#3B802B #2B8045 #2B806F
triadic
#2B8045 #452B80 #80452B
tetradic
#2B8045 #2B3B80 #802B66 #806F2B
square
#2B8045 #2B3B80 #802B66 #806F2B
split-complementary
#2B8045 #6F2B80 #802B3B
monochromatic
#0C2414 #1C522C #2B8045 #3AAE5E #5DC97E

Accessibility & contrast

On white

4.91
#2B8045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2B8045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8045
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8045#FFFFFF#000000##FFFFFF
##2B80451.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817541
Deuteranopia (green-blind)
#766E49
Tritanopia (blue-blind)
#0A7E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b8045;
/* rgb */ color: rgb(43, 128, 69);
/* oklch */ color: oklch(53.4% 0.122 150.1);
Tailwind
colors: {
  custom: {
    50: '#6fa679',
    500: '#2b8045',
    950: '#000000',
  },
}
SCSS
$custom: #2b8045;
$custom-light: #6fa679;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8045",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 69
  },
  "hsl": {
    "h": 138.353,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.12201,
    "h": 150.1
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#2B8045
secondary
#AE5894
accent
#4FAFD9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B8045

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

Preview Lab → · Contrast checker → · Palette generator →

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