#2A9826#2A9826

#2A9826 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.6% C 0.179 H 142.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2A9826
RGBrgb(42, 152, 38)
HSLhsl(118, 60%, 37%)
HSVhsv(118, 75%, 60%)
CMYKcmyk(72.4%, 0%, 75%, 40.4%)
CIE-LABlab(55.16, -52.25, 48.19)
CIE-LCHlch(55.16, 71.08, 137.31°)
OKLaboklab(59.63% -0.142 0.1089)
OKLCHoklch(59.63% 0.179 142.5)
XYZxyz(12.5322, 23.0873, 5.6292)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9826 #942698
analogous
#639826 #2A9826 #26985B
triadic
#2A9826 #262A98 #98262A
tetradic
#2A9826 #266398 #942698 #985B26
square
#2A9826 #266398 #942698 #985B26
split-complementary
#2A9826 #5B2698 #982663
monochromatic
#0F360E #1C671A #2A9826 #38C932 #65D761

Accessibility & contrast

On white

3.74
#2A9826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2A9826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9826
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9826#FFFFFF#000000##000000
##2A98261.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8910
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#059382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9826;
/* rgb */ color: rgb(42, 152, 38);
/* oklch */ color: oklch(59.6% 0.179 142.5);
Tailwind
colors: {
  custom: {
    50: '#75b768',
    500: '#2a9826',
    950: '#000000',
  },
}
SCSS
$custom: #2a9826;
$custom-light: #75b768;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9826",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 117.895,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5963,
    "c": 0.17901,
    "h": 142.5
  },
  "luminance": 0.23089
}

Semantic roles & 50–950 ramp

primary
#2A9826
secondary
#B95DBD
accent
#45E3DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2A9826

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

Preview Lab → · Contrast checker → · Palette generator →

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