#2B8530#2B8530

#2B8530 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.148 H 144.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2B8530
RGBrgb(43, 133, 48)
HSLhsl(123, 51%, 35%)
HSVhsv(123, 68%, 52%)
CMYKcmyk(67.7%, 0%, 63.9%, 47.8%)
CIE-LABlab(48.89, -44.29, 37.27)
CIE-LCHlch(48.89, 57.89, 139.92°)
OKLaboklab(54.46% -0.12 0.0872)
OKLCHoklch(54.46% 0.148 144)
XYZxyz(9.9167, 17.5010, 5.6512)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8530 #852B80
analogous
#53852B #2B8530 #2B855D
triadic
#2B8530 #302B85 #85302B
tetradic
#2B8530 #2B5385 #852B80 #855D2B
square
#2B8530 #2B5385 #852B80 #855D2B
split-complementary
#2B8530 #5D2B85 #852B53
monochromatic
#0D290F #1C571F #2B8530 #3AB341 #5FCB65

Accessibility & contrast

On white

4.67
#2B8530 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2B8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8530
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8530#FFFFFF#000000##FFFFFF
##2B85301.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#7D7137
Tritanopia (blue-blind)
#148173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8530;
/* rgb */ color: rgb(43, 133, 48);
/* oklch */ color: oklch(54.5% 0.148 144.0);
Tailwind
colors: {
  custom: {
    50: '#71a96c',
    500: '#2b8530',
    950: '#000000',
  },
}
SCSS
$custom: #2b8530;
$custom-light: #71a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8530",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 123.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54463,
    "c": 0.14833,
    "h": 144
  },
  "luminance": 0.17502
}

Semantic roles & 50–950 ramp

primary
#2B8530
secondary
#B15BAC
accent
#4DD3DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2B8530

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

Preview Lab → · Contrast checker → · Palette generator →

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