#2B8E23#2B8E23

#2B8E23 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.169 H 142.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2B8E23
RGBrgb(43, 142, 35)
HSLhsl(116, 60%, 35%)
HSVhsv(116, 75%, 56%)
CMYKcmyk(69.7%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.81, -48.85, 45.94)
CIE-LCHlch(51.81, 67.06, 136.76°)
OKLaboklab(56.85% -0.133 0.1038)
OKLCHoklch(56.85% 0.169 142)
XYZxyz(10.9720, 19.9798, 4.8680)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E23 #86238E
analogous
#618E23 #2B8E23 #238E51
triadic
#2B8E23 #232B8E #8E232B
tetradic
#2B8E23 #23618E #86238E #8E5123
square
#2B8E23 #23618E #86238E #8E5123
split-complementary
#2B8E23 #51238E #8E2361
monochromatic
#0D2C0B #1C5D17 #2B8E23 #3ABF2F #60D556

Accessibility & contrast

On white

4.20
#2B8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2B8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8E23
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8E23#FFFFFF#000000##000000
##2B8E231.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#138A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b8e23;
/* rgb */ color: rgb(43, 142, 35);
/* oklch */ color: oklch(56.9% 0.169 142.0);
Tailwind
colors: {
  custom: {
    50: '#73b065',
    500: '#2b8e23',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e23;
$custom-light: #73b065;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e23",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 115.514,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.16877,
    "h": 142
  },
  "luminance": 0.19981
}

Semantic roles & 50–950 ramp

primary
#2B8E23
secondary
#B253B9
accent
#44E4D8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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