#2B8F23#2B8F23

#2B8F23 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.170 H 142.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2B8F23
RGBrgb(43, 143, 35)
HSLhsl(116, 61%, 35%)
HSVhsv(116, 76%, 56%)
CMYKcmyk(69.9%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.15, -49.20, 46.28)
CIE-LCHlch(52.15, 67.54, 136.75°)
OKLaboklab(57.13% -0.134 0.1045)
OKLCHoklch(57.13% 0.17 142)
XYZxyz(11.1215, 20.2787, 4.9179)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8F23 #87238F
analogous
#618F23 #2B8F23 #238F51
triadic
#2B8F23 #232B8F #8F232B
tetradic
#2B8F23 #23618F #87238F #8F5123
square
#2B8F23 #23618F #87238F #8F5123
split-complementary
#2B8F23 #51238F #8F2361
monochromatic
#0D2D0B #1C5E17 #2B8F23 #3AC02F #60D657

Accessibility & contrast

On white

4.15
#2B8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2B8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8F23
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8F23#FFFFFF#000000##000000
##2B8F231.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#128B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b8f23;
/* rgb */ color: rgb(43, 143, 35);
/* oklch */ color: oklch(57.1% 0.170 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b165',
    500: '#2b8f23',
    950: '#000000',
  },
}
SCSS
$custom: #2b8f23;
$custom-light: #74b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8f23",
  "rgb": {
    "r": 43,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 115.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.16995,
    "h": 142
  },
  "luminance": 0.2028
}

Semantic roles & 50–950 ramp

primary
#2B8F23
secondary
#B254BA
accent
#44E4D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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