#2BA02F#2BA02F

#2BA02F is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.182 H 143.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2BA02F
RGBrgb(43, 160, 47)
HSLhsl(122, 58%, 40%)
HSVhsv(122, 73%, 63%)
CMYKcmyk(73.1%, 0%, 70.6%, 37.3%)
CIE-LABlab(57.90, -53.99, 47.54)
CIE-LCHlch(57.90, 71.94, 138.64°)
OKLaboklab(61.93% -0.1464 0.1087)
OKLCHoklch(61.93% 0.182 143.4)
XYZxyz(14.0793, 25.8589, 6.9380)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BA02F #A02B9C
analogous
#62A02B #2BA02F #2BA069
triadic
#2BA02F #2F2BA0 #A02F2B
tetradic
#2BA02F #2B62A0 #A02B9C #A0692B
square
#2BA02F #2B62A0 #A02B9C #A0692B
split-complementary
#2BA02F #692BA0 #A02B62
monochromatic
#114013 #1E7021 #2BA02F #3DCB42 #6ED871

Accessibility & contrast

On white

3.40
#2BA02F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#2BA02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2BA02F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BA02F#FFFFFF#000000##000000
##2BA02F1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911E
Deuteranopia (green-blind)
#96883A
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2ba02f;
/* rgb */ color: rgb(43, 160, 47);
/* oklch */ color: oklch(61.9% 0.182 143.4);
Tailwind
colors: {
  custom: {
    50: '#77bd6e',
    500: '#2ba02f',
    950: '#000000',
  },
}
SCSS
$custom: #2ba02f;
$custom-light: #77bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ba02f",
  "rgb": {
    "r": 43,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 122.051,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61931,
    "c": 0.18235,
    "h": 143.4
  },
  "luminance": 0.2586
}

Semantic roles & 50–950 ramp

primary
#2BA02F
secondary
#BF68BC
accent
#47DCE1
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2BA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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