#2BAF31#2BAF31

#2BAF31 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.0% C 0.198 H 143.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2BAF31
RGBrgb(43, 175, 49)
HSLhsl(123, 61%, 43%)
HSVhsv(123, 75%, 69%)
CMYKcmyk(75.4%, 0%, 72%, 31.4%)
CIE-LABlab(62.84, -58.77, 51.90)
CIE-LCHlch(62.84, 78.41, 138.55°)
OKLaboklab(66.03% -0.1593 0.1181)
OKLCHoklch(66.03% 0.198 143.4)
XYZxyz(16.8795, 31.3933, 8.0751)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BAF31 #AF2BA9
analogous
#67AF2B #2BAF31 #2BAF73
triadic
#2BAF31 #312BAF #AF312B
tetradic
#2BAF31 #2B67AF #AF2BA9 #AF732B
square
#2BAF31 #2B67AF #AF2BA9 #AF732B
split-complementary
#2BAF31 #732BAF #AF2B67
monochromatic
#134D15 #1F7E23 #2BAF31 #46D14C #77DE7C

Accessibility & contrast

On white

2.89
#2BAF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#2BAF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2BAF31
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BAF31#FFFFFF#000000##000000
##2BAF311.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1C
Deuteranopia (green-blind)
#A4943E
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2baf31;
/* rgb */ color: rgb(43, 175, 49);
/* oklch */ color: oklch(66.0% 0.198 143.4);
Tailwind
colors: {
  custom: {
    50: '#7ac871',
    500: '#2baf31',
    950: '#000000',
  },
}
SCSS
$custom: #2baf31;
$custom-light: #7ac871;
$custom-dark: #000000;
JSON
{
  "hex": "#2baf31",
  "rgb": {
    "r": 43,
    "g": 175,
    "b": 49
  },
  "hsl": {
    "h": 122.727,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.1983,
    "h": 143.4
  },
  "luminance": 0.31395
}

Semantic roles & 50–950 ramp

primary
#2BAF31
secondary
#C570C1
accent
#44DCE4
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2BAF31

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

Preview Lab → · Contrast checker → · Palette generator →

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