#2A8546#2A8546

#2A8546 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.129 H 149.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A8546
RGBrgb(42, 133, 70)
HSLhsl(138, 52%, 34%)
HSVhsv(138, 68%, 52%)
CMYKcmyk(68.4%, 0%, 47.4%, 47.8%)
CIE-LABlab(49.14, -41.27, 26.30)
CIE-LCHlch(49.14, 48.94, 147.49°)
OKLaboklab(54.76% -0.1113 0.0644)
OKLCHoklch(54.76% 0.129 149.9)
XYZxyz(10.4471, 17.7084, 8.6607)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8546 #852A69
analogous
#3B852A #2A8546 #2A8574
triadic
#2A8546 #462A85 #85462A
tetradic
#2A8546 #2A3B85 #852A69 #85742A
square
#2A8546 #2A3B85 #852A69 #85742A
split-complementary
#2A8546 #742A85 #852A3B
monochromatic
#0D2815 #1B562E #2A8546 #39B45E #5DCC7F

Accessibility & contrast

On white

4.62
#2A8546 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2A8546 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8546
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8546#FFFFFF#000000##FFFFFF
##2A85461.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A41
Deuteranopia (green-blind)
#7B724A
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8546;
/* rgb */ color: rgb(42, 133, 70);
/* oklch */ color: oklch(54.8% 0.129 149.9);
Tailwind
colors: {
  custom: {
    50: '#6fa97a',
    500: '#2a8546',
    950: '#000000',
  },
}
SCSS
$custom: #2a8546;
$custom-light: #6fa97a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8546",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 70
  },
  "hsl": {
    "h": 138.462,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.12858,
    "h": 149.9
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#2A8546
secondary
#B25996
accent
#4CAFDB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8546

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

Preview Lab → · Contrast checker → · Palette generator →

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