#2B8529#2B8529

#2B8529 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.154 H 142.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2B8529
RGBrgb(43, 133, 41)
HSLhsl(119, 53%, 34%)
HSVhsv(119, 69%, 52%)
CMYKcmyk(67.7%, 0%, 69.2%, 47.8%)
CIE-LABlab(48.82, -45.07, 40.38)
CIE-LCHlch(48.82, 60.51, 138.14°)
OKLaboklab(54.39% -0.1225 0.093)
OKLCHoklch(54.39% 0.154 142.8)
XYZxyz(9.7835, 17.4477, 4.9496)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8529 #832985
analogous
#598529 #2B8529 #298555
triadic
#2B8529 #292B85 #85292B
tetradic
#2B8529 #295985 #832985 #855529
square
#2B8529 #295985 #832985 #855529
split-complementary
#2B8529 #552985 #852959
monochromatic
#0D270C #1C561B #2B8529 #3AB437 #5ECD5C

Accessibility & contrast

On white

4.68
#2B8529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2B8529 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8529
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8529#FFFFFF#000000##FFFFFF
##2B85291.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88781D
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#178172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8529;
/* rgb */ color: rgb(43, 133, 41);
/* oklch */ color: oklch(54.4% 0.154 142.8);
Tailwind
colors: {
  custom: {
    50: '#71a968',
    500: '#2b8529',
    950: '#000000',
  },
}
SCSS
$custom: #2b8529;
$custom-light: #71a968;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8529",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 118.696,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54387,
    "c": 0.15378,
    "h": 142.8
  },
  "luminance": 0.17449
}

Semantic roles & 50–950 ramp

primary
#2B8529
secondary
#B058B2
accent
#4CDCD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8529

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

Preview Lab → · Contrast checker → · Palette generator →

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