#2A9124#2A9124

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

Color values

HEX#2A9124
RGBrgb(42, 145, 36)
HSLhsl(117, 60%, 35%)
HSVhsv(117, 75%, 57%)
CMYKcmyk(71%, 0%, 75.2%, 43.1%)
CIE-LABlab(52.81, -50.01, 46.55)
CIE-LCHlch(52.81, 68.33, 137.05°)
OKLaboklab(57.67% -0.1361 0.1053)
OKLCHoklch(57.67% 0.172 142.3)
XYZxyz(11.3980, 20.8692, 5.0962)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9124 #8B2491
analogous
#609124 #2A9124 #249154
triadic
#2A9124 #242A91 #91242A
tetradic
#2A9124 #246091 #8B2491 #915424
square
#2A9124 #246091 #8B2491 #915424
split-complementary
#2A9124 #542491 #912460
monochromatic
#0E2F0C #1C6018 #2A9124 #38C230 #60D659

Accessibility & contrast

On white

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

On black

5.17
#2A9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9124
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9124#FFFFFF#000000##000000
##2A91241.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830F
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#0D8D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a9124;
/* rgb */ color: rgb(42, 145, 36);
/* oklch */ color: oklch(57.7% 0.172 142.3);
Tailwind
colors: {
  custom: {
    50: '#74b266',
    500: '#2a9124',
    950: '#000000',
  },
}
SCSS
$custom: #2a9124;
$custom-light: #74b266;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9124",
  "rgb": {
    "r": 42,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 116.697,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57671,
    "c": 0.17205,
    "h": 142.3
  },
  "luminance": 0.2087
}

Semantic roles & 50–950 ramp

primary
#2A9124
secondary
#B556BA
accent
#44E3DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9124

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

Preview Lab → · Contrast checker → · Palette generator →

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