#2B8A23#2B8A23

#2B8A23 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.164 H 142.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2B8A23
RGBrgb(43, 138, 35)
HSLhsl(115, 60%, 34%)
HSVhsv(115, 75%, 54%)
CMYKcmyk(68.8%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.47, -47.43, 44.57)
CIE-LCHlch(50.47, 65.09, 136.78°)
OKLaboklab(55.74% -0.1292 0.101)
OKLCHoklch(55.74% 0.164 142)
XYZxyz(10.3875, 18.8108, 4.6732)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A23 #82238A
analogous
#5F8A23 #2B8A23 #238A4F
triadic
#2B8A23 #232B8A #8A232B
tetradic
#2B8A23 #235F8A #82238A #8A4F23
square
#2B8A23 #235F8A #82238A #8A4F23
split-complementary
#2B8A23 #4F238A #8A235F
monochromatic
#0D280A #1C5917 #2B8A23 #3ABB2F #5ED454

Accessibility & contrast

On white

4.41
#2B8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2B8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A23
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A23#FFFFFF#000000##000000
##2B8A231.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#168676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8a23;
/* rgb */ color: rgb(43, 138, 35);
/* oklch */ color: oklch(55.7% 0.164 142.0);
Tailwind
colors: {
  custom: {
    50: '#72ad65',
    500: '#2b8a23',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a23;
$custom-light: #72ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a23",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 115.34,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.164,
    "h": 142
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#2B8A23
secondary
#B051B7
accent
#45E3D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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