#2AB231#2AB231

#2AB231 is a light, highly saturated green. Relative luminance 0.326; OKLCH L 66.8% C 0.202 H 143.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2AB231
RGBrgb(42, 178, 49)
HSLhsl(123, 62%, 43%)
HSVhsv(123, 76%, 70%)
CMYKcmyk(76.4%, 0%, 72.5%, 30.2%)
CIE-LABlab(63.80, -59.89, 52.88)
CIE-LCHlch(63.80, 79.90, 138.56°)
OKLaboklab(66.83% -0.1623 0.1202)
OKLCHoklch(66.83% 0.202 143.5)
XYZxyz(17.4285, 32.5527, 8.2699)
Luminance0.3256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB231 #B22AAB
analogous
#67B22A #2AB231 #2AB275
triadic
#2AB231 #312AB2 #B2312A
tetradic
#2AB231 #2A67B2 #B22AAB #B2752A
square
#2AB231 #2A67B2 #B22AAB #B2752A
split-complementary
#2AB231 #752AB2 #B22A67
monochromatic
#134F16 #1E8023 #2AB231 #46D34D #77DF7D

Accessibility & contrast

On white

2.80
#2AB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#2AB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB231
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB231#FFFFFF#000000##000000
##2AB2311.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#A7973E
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab231;
/* rgb */ color: rgb(42, 178, 49);
/* oklch */ color: oklch(66.8% 0.202 143.5);
Tailwind
colors: {
  custom: {
    50: '#7bca71',
    500: '#2ab231',
    950: '#000000',
  },
}
SCSS
$custom: #2ab231;
$custom-light: #7bca71;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab231",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 123.088,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66825,
    "c": 0.20193,
    "h": 143.5
  },
  "luminance": 0.32555
}

Semantic roles & 50–950 ramp

primary
#2AB231
secondary
#C771C2
accent
#43DDE5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB231

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

Preview Lab → · Contrast checker → · Palette generator →

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