#2B8523#2B8523

#2B8523 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.158 H 141.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2B8523
RGBrgb(43, 133, 35)
HSLhsl(115, 58%, 33%)
HSVhsv(115, 74%, 52%)
CMYKcmyk(67.7%, 0%, 73.7%, 47.8%)
CIE-LABlab(48.77, -45.64, 42.84)
CIE-LCHlch(48.77, 62.59, 136.81°)
OKLaboklab(54.33% -0.1244 0.0974)
OKLCHoklch(54.33% 0.158 141.9)
XYZxyz(9.6866, 17.4090, 4.4396)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8523 #7D2385
analogous
#5C8523 #2B8523 #23854C
triadic
#2B8523 #232B85 #85232B
tetradic
#2B8523 #235C85 #7D2385 #854C23
square
#2B8523 #235C85 #7D2385 #854C23
split-complementary
#2B8523 #4C2385 #85235C
monochromatic
#0C2409 #1B5516 #2B8523 #3BB530 #5CD151

Accessibility & contrast

On white

4.69
#2B8523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2B8523 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8523
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8523#FFFFFF#000000##FFFFFF
##2B85231.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#188172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8523;
/* rgb */ color: rgb(43, 133, 35);
/* oklch */ color: oklch(54.3% 0.158 141.9);
Tailwind
colors: {
  custom: {
    50: '#71a964',
    500: '#2b8523',
    950: '#000000',
  },
}
SCSS
$custom: #2b8523;
$custom-light: #71a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8523",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 115.102,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.15793,
    "h": 141.9
  },
  "luminance": 0.1741
}

Semantic roles & 50–950 ramp

primary
#2B8523
secondary
#AD4FB5
accent
#46E2D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8523

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

Preview Lab → · Contrast checker → · Palette generator →

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