#2B802F#2B802F

#2B802F is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.143 H 143.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2B802F
RGBrgb(43, 128, 47)
HSLhsl(123, 50%, 34%)
HSVhsv(123, 66%, 50%)
CMYKcmyk(66.4%, 0%, 63.3%, 49.8%)
CIE-LABlab(47.18, -42.52, 35.81)
CIE-LCHlch(47.18, 55.59, 139.90°)
OKLaboklab(53.05% -0.1153 0.0839)
OKLCHoklch(53.05% 0.143 143.9)
XYZxyz(9.2280, 16.1562, 5.3209)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B802F #802B7C
analogous
#51802B #2B802F #2B8059
triadic
#2B802F #2F2B80 #802F2B
tetradic
#2B802F #2B5180 #802B7C #80592B
square
#2B802F #2B5180 #802B7C #80592B
split-complementary
#2B802F #592B80 #802B51
monochromatic
#0C240D #1C521E #2B802F #3AAE40 #5DC962

Accessibility & contrast

On white

4.96
#2B802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2B802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B802F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B802F#FFFFFF#000000##FFFFFF
##2B802F1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#177C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b802f;
/* rgb */ color: rgb(43, 128, 47);
/* oklch */ color: oklch(53.0% 0.143 143.9);
Tailwind
colors: {
  custom: {
    50: '#70a66b',
    500: '#2b802f',
    950: '#000000',
  },
}
SCSS
$custom: #2b802f;
$custom-light: #70a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b802f",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 122.824,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.14258,
    "h": 143.9
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#2B802F
secondary
#AE58AA
accent
#4FD3D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B802F

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

Preview Lab → · Contrast checker → · Palette generator →

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