#2A8235#2A8235

#2A8235 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.140 H 145.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A8235
RGBrgb(42, 130, 53)
HSLhsl(128, 51%, 34%)
HSVhsv(128, 68%, 51%)
CMYKcmyk(67.7%, 0%, 59.2%, 49%)
CIE-LABlab(47.90, -42.73, 33.69)
CIE-LCHlch(47.90, 54.41, 141.75°)
OKLaboklab(53.66% -0.1155 0.0799)
OKLCHoklch(53.66% 0.14 145.3)
XYZxyz(9.5795, 16.7136, 6.0887)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8235 #822A77
analogous
#4B822A #2A8235 #2A8261
triadic
#2A8235 #352A82 #82352A
tetradic
#2A8235 #2A4B82 #822A77 #82612A
square
#2A8235 #2A4B82 #822A77 #82612A
split-complementary
#2A8235 #612A82 #822A4B
monochromatic
#0C250F #1B5422 #2A8235 #39B048 #5CCA6A

Accessibility & contrast

On white

4.84
#2A8235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2A8235 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8235
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8235#FFFFFF#000000##FFFFFF
##2A82351.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762D
Deuteranopia (green-blind)
#796F3B
Tritanopia (blue-blind)
#117F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a8235;
/* rgb */ color: rgb(42, 130, 53);
/* oklch */ color: oklch(53.7% 0.140 145.3);
Tailwind
colors: {
  custom: {
    50: '#6fa76f',
    500: '#2a8235',
    950: '#000000',
  },
}
SCSS
$custom: #2a8235;
$custom-light: #6fa76f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8235",
  "rgb": {
    "r": 42,
    "g": 130,
    "b": 53
  },
  "hsl": {
    "h": 127.5,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53656,
    "c": 0.14047,
    "h": 145.3
  },
  "luminance": 0.16715
}

Semantic roles & 50–950 ramp

primary
#2A8235
secondary
#B058A5
accent
#4DC9DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2A8235

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

Preview Lab → · Contrast checker → · Palette generator →

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