#2B8023#2B8023

#2B8023 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.152 H 141.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2B8023
RGBrgb(43, 128, 35)
HSLhsl(115, 57%, 32%)
HSVhsv(115, 73%, 50%)
CMYKcmyk(66.4%, 0%, 72.7%, 49.8%)
CIE-LABlab(47.07, -43.80, 41.07)
CIE-LCHlch(47.07, 60.05, 136.84°)
OKLaboklab(52.92% -0.1194 0.0937)
OKLCHoklch(52.92% 0.152 141.9)
XYZxyz(9.0183, 16.0724, 4.2168)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8023 #782380
analogous
#5A8023 #2B8023 #23804A
triadic
#2B8023 #232B80 #80232B
tetradic
#2B8023 #235A80 #782380 #804A23
square
#2B8023 #235A80 #782380 #804A23
split-complementary
#2B8023 #4A2380 #80235A
monochromatic
#0B2009 #1B5016 #2B8023 #3BB030 #5ACF4F

Accessibility & contrast

On white

4.98
#2B8023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2B8023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8023
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8023#FFFFFF#000000##FFFFFF
##2B80231.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#1B7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b8023;
/* rgb */ color: rgb(43, 128, 35);
/* oklch */ color: oklch(52.9% 0.152 141.9);
Tailwind
colors: {
  custom: {
    50: '#70a664',
    500: '#2b8023',
    950: '#000000',
  },
}
SCSS
$custom: #2b8023;
$custom-light: #70a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8023",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 114.839,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.15174,
    "h": 141.9
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#2B8023
secondary
#AA4DB2
accent
#47E0D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B8023

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

Preview Lab → · Contrast checker → · Palette generator →

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