#2A9125#2A9125

#2A9125 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.7% C 0.171 H 142.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2A9125
RGBrgb(42, 145, 37)
HSLhsl(117, 59%, 36%)
HSVhsv(117, 74%, 57%)
CMYKcmyk(71%, 0%, 74.5%, 43.1%)
CIE-LABlab(52.81, -49.93, 46.18)
CIE-LCHlch(52.81, 68.01, 137.23°)
OKLaboklab(57.68% -0.1358 0.1046)
OKLCHoklch(57.68% 0.171 142.4)
XYZxyz(11.4135, 20.8754, 5.1778)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9125 #8C2591
analogous
#609125 #2A9125 #259156
triadic
#2A9125 #252A91 #91252A
tetradic
#2A9125 #256091 #8C2591 #915625
square
#2A9125 #256091 #8C2591 #915625
split-complementary
#2A9125 #562591 #912560
monochromatic
#0E2F0C #1C6019 #2A9125 #38C231 #61D55B

Accessibility & contrast

On white

4.06
#2A9125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2A9125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9125
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9125#FFFFFF#000000##000000
##2A91251.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948311
Deuteranopia (green-blind)
#887B30
Tritanopia (blue-blind)
#0D8D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a9125;
/* rgb */ color: rgb(42, 145, 37);
/* oklch */ color: oklch(57.7% 0.171 142.4);
Tailwind
colors: {
  custom: {
    50: '#74b267',
    500: '#2a9125',
    950: '#000000',
  },
}
SCSS
$custom: #2a9125;
$custom-light: #74b267;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9125",
  "rgb": {
    "r": 42,
    "g": 145,
    "b": 37
  },
  "hsl": {
    "h": 117.222,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57679,
    "c": 0.17144,
    "h": 142.4
  },
  "luminance": 0.20877
}

Semantic roles & 50–950 ramp

primary
#2A9125
secondary
#B558BA
accent
#45E3DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9125

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

Preview Lab → · Contrast checker → · Palette generator →

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