#2A8525#2A8525

#2A8525 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.157 H 142.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A8525
RGBrgb(42, 133, 37)
HSLhsl(117, 56%, 33%)
HSVhsv(117, 72%, 52%)
CMYKcmyk(68.4%, 0%, 72.2%, 47.8%)
CIE-LABlab(48.76, -45.67, 42.01)
CIE-LCHlch(48.76, 62.05, 137.40°)
OKLaboklab(54.32% -0.1243 0.0959)
OKLCHoklch(54.32% 0.157 142.4)
XYZxyz(9.6758, 17.3999, 4.5985)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8525 #802585
analogous
#5A8525 #2A8525 #258550
triadic
#2A8525 #252A85 #85252A
tetradic
#2A8525 #255A85 #802585 #855025
square
#2A8525 #255A85 #802585 #855025
split-complementary
#2A8525 #502585 #85255A
monochromatic
#0C250A #1B5518 #2A8525 #39B532 #5BD055

Accessibility & contrast

On white

4.69
#2A8525 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2A8525 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8525
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8525#FFFFFF#000000##FFFFFF
##2A85251.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887816
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#168172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8525;
/* rgb */ color: rgb(42, 133, 37);
/* oklch */ color: oklch(54.3% 0.157 142.4);
Tailwind
colors: {
  custom: {
    50: '#71a965',
    500: '#2a8525',
    950: '#000000',
  },
}
SCSS
$custom: #2a8525;
$custom-light: #71a965;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8525",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 116.875,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.15698,
    "h": 142.4
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#2A8525
secondary
#AF52B4
accent
#48E0D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8525

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

Preview Lab → · Contrast checker → · Palette generator →

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