#2A9725#2A9725

#2A9725 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.178 H 142.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2A9725
RGBrgb(42, 151, 37)
HSLhsl(117, 61%, 37%)
HSVhsv(117, 75%, 59%)
CMYKcmyk(72.2%, 0%, 75.5%, 40.8%)
CIE-LABlab(54.82, -51.99, 48.21)
CIE-LCHlch(54.82, 70.90, 137.16°)
OKLaboklab(59.35% -0.1414 0.1089)
OKLCHoklch(59.35% 0.178 142.4)
XYZxyz(12.3547, 22.7577, 5.4915)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9725 #922597
analogous
#639725 #2A9725 #259759
triadic
#2A9725 #252A97 #97252A
tetradic
#2A9725 #256397 #922597 #975925
square
#2A9725 #256397 #922597 #975925
split-complementary
#2A9725 #592597 #972563
monochromatic
#0F350D #1C6619 #2A9725 #38C831 #64D85F

Accessibility & contrast

On white

3.78
#2A9725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2A9725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9725
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9725#FFFFFF#000000##000000
##2A97251.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B880E
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#079281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9725;
/* rgb */ color: rgb(42, 151, 37);
/* oklch */ color: oklch(59.3% 0.178 142.4);
Tailwind
colors: {
  custom: {
    50: '#75b767',
    500: '#2a9725',
    950: '#000000',
  },
}
SCSS
$custom: #2a9725;
$custom-light: #75b767;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9725",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 117.368,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59346,
    "c": 0.17844,
    "h": 142.4
  },
  "luminance": 0.22759
}

Semantic roles & 50–950 ramp

primary
#2A9725
secondary
#B85BBD
accent
#44E4DD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9725

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

Preview Lab → · Contrast checker → · Palette generator →

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