#2A824F#2A824F

#2A824F is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.1% C 0.115 H 154.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2A824F
RGBrgb(42, 130, 79)
HSLhsl(145, 51%, 34%)
HSVhsv(145, 68%, 51%)
CMYKcmyk(67.7%, 0%, 39.2%, 49%)
CIE-LABlab(48.29, -38.35, 20.20)
CIE-LCHlch(48.29, 43.34, 152.22°)
OKLaboklab(54.1% -0.1037 0.0505)
OKLCHoklch(54.1% 0.115 154.1)
XYZxyz(10.3479, 17.0209, 10.1356)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A824F #822A5D
analogous
#31822A #2A824F #2A827B
triadic
#2A824F #4F2A82 #824F2A
tetradic
#2A824F #2A3182 #822A5D #827B2A
square
#2A824F #2A3182 #822A5D #827B2A
split-complementary
#2A824F #7B2A82 #822A31
monochromatic
#0C2517 #1B5433 #2A824F #39B06B #5CCA8A

Accessibility & contrast

On white

4.77
#2A824F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A824F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A824F#FFFFFF#000000##FFFFFF
##2A824F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82774C
Deuteranopia (green-blind)
#766F52
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a824f;
/* rgb */ color: rgb(42, 130, 79);
/* oklch */ color: oklch(54.1% 0.115 154.1);
Tailwind
colors: {
  custom: {
    50: '#6fa781',
    500: '#2a824f',
    950: '#000000',
  },
}
SCSS
$custom: #2a824f;
$custom-light: #6fa781;
$custom-dark: #000000;
JSON
{
  "hex": "#2a824f",
  "rgb": {
    "r": 42,
    "g": 130,
    "b": 79
  },
  "hsl": {
    "h": 145.227,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.11534,
    "h": 154.1
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#2A824F
secondary
#B0588B
accent
#4D9FDB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2A824F

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

Preview Lab → · Contrast checker → · Palette generator →

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