#2A8335#2A8335

#2A8335 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.142 H 145.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A8335
RGBrgb(42, 131, 53)
HSLhsl(127, 51%, 34%)
HSVhsv(127, 68%, 51%)
CMYKcmyk(67.9%, 0%, 59.5%, 48.6%)
CIE-LABlab(48.24, -43.12, 34.09)
CIE-LCHlch(48.24, 54.96, 141.67°)
OKLaboklab(53.94% -0.1166 0.0808)
OKLCHoklch(53.94% 0.142 145.3)
XYZxyz(9.7131, 16.9809, 6.1332)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8335 #832A78
analogous
#4C832A #2A8335 #2A8362
triadic
#2A8335 #352A83 #83352A
tetradic
#2A8335 #2A4C83 #832A78 #83622A
square
#2A8335 #2A4C83 #832A78 #83622A
split-complementary
#2A8335 #622A83 #832A4C
monochromatic
#0C2610 #1B5522 #2A8335 #39B148 #5DCB6A

Accessibility & contrast

On white

4.78
#2A8335 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2A8335 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8335
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8335#FFFFFF#000000##FFFFFF
##2A83351.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772D
Deuteranopia (green-blind)
#7A703B
Tritanopia (blue-blind)
#108072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a8335;
/* rgb */ color: rgb(42, 131, 53);
/* oklch */ color: oklch(53.9% 0.142 145.3);
Tailwind
colors: {
  custom: {
    50: '#70a86f',
    500: '#2a8335',
    950: '#000000',
  },
}
SCSS
$custom: #2a8335;
$custom-light: #70a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8335",
  "rgb": {
    "r": 42,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 127.416,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.14182,
    "h": 145.3
  },
  "luminance": 0.16982
}

Semantic roles & 50–950 ramp

primary
#2A8335
secondary
#B158A6
accent
#4DC9DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2A8335

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

Preview Lab → · Contrast checker → · Palette generator →

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