#2B7D2C#2B7D2C

#2B7D2C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.141 H 143.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2B7D2C
RGBrgb(43, 125, 44)
HSLhsl(121, 49%, 33%)
HSVhsv(121, 66%, 49%)
CMYKcmyk(65.6%, 0%, 64.8%, 51%)
CIE-LABlab(46.13, -41.72, 36.05)
CIE-LCHlch(46.13, 55.14, 139.17°)
OKLaboklab(52.17% -0.1133 0.0841)
OKLCHoklch(52.17% 0.141 143.4)
XYZxyz(8.7840, 15.3618, 4.8846)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D2C #7D2B7C
analogous
#537D2B #2B7D2C #2B7D55
triadic
#2B7D2C #2C2B7D #7D2C2B
tetradic
#2B7D2C #2B537D #7D2B7C #7D552B
square
#2B7D2C #2B537D #7D2B7C #7D552B
split-complementary
#2B7D2C #552B7D #7D2B53
monochromatic
#0C220C #1B4F1C #2B7D2C #3BAB3C #5CC75D

Accessibility & contrast

On white

5.16
#2B7D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2B7D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D2C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D2C#FFFFFF#000000##FFFFFF
##2B7D2C1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807123
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#1A796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d2c;
/* rgb */ color: rgb(43, 125, 44);
/* oklch */ color: oklch(52.2% 0.141 143.4);
Tailwind
colors: {
  custom: {
    50: '#6fa369',
    500: '#2b7d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d2c;
$custom-light: #6fa369;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d2c",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 120.732,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52168,
    "c": 0.1411,
    "h": 143.4
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#2B7D2C
secondary
#AD57AC
accent
#4FD7D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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