#2B8623#2B8623

#2B8623 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.159 H 142.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2B8623
RGBrgb(43, 134, 35)
HSLhsl(115, 59%, 33%)
HSVhsv(115, 74%, 53%)
CMYKcmyk(67.9%, 0%, 73.9%, 47.5%)
CIE-LABlab(49.11, -46.00, 43.19)
CIE-LCHlch(49.11, 63.09, 136.81°)
OKLaboklab(54.61% -0.1253 0.0981)
OKLCHoklch(54.61% 0.159 142)
XYZxyz(9.8242, 17.6841, 4.4854)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8623 #7E2386
analogous
#5C8623 #2B8623 #23864D
triadic
#2B8623 #232B86 #86232B
tetradic
#2B8623 #235C86 #7E2386 #864D23
square
#2B8623 #235C86 #7E2386 #864D23
split-complementary
#2B8623 #4D2386 #86235C
monochromatic
#0C250A #1B5516 #2B8623 #3BB730 #5CD252

Accessibility & contrast

On white

4.63
#2B8623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2B8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8623
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8623#FFFFFF#000000##FFFFFF
##2B86231.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#188273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b8623;
/* rgb */ color: rgb(43, 134, 35);
/* oklch */ color: oklch(54.6% 0.159 142.0);
Tailwind
colors: {
  custom: {
    50: '#72aa64',
    500: '#2b8623',
    950: '#000000',
  },
}
SCSS
$custom: #2b8623;
$custom-light: #72aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8623",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 115.152,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.15915,
    "h": 142
  },
  "luminance": 0.17685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B8623

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

Preview Lab → · Contrast checker → · Palette generator →

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