#2A9926#2A9926

#2A9926 is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.9% C 0.180 H 142.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2A9926
RGBrgb(42, 153, 38)
HSLhsl(118, 60%, 37%)
HSVhsv(118, 75%, 60%)
CMYKcmyk(72.5%, 0%, 75.2%, 40%)
CIE-LABlab(55.50, -52.58, 48.52)
CIE-LCHlch(55.50, 71.55, 137.30°)
OKLaboklab(59.91% -0.143 0.1096)
OKLCHoklch(59.91% 0.18 142.5)
XYZxyz(12.6952, 23.4132, 5.6835)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9926 #952699
analogous
#649926 #2A9926 #26995B
triadic
#2A9926 #262A99 #99262A
tetradic
#2A9926 #266499 #952699 #995B26
square
#2A9926 #266499 #952699 #995B26
split-complementary
#2A9926 #5B2699 #992664
monochromatic
#0F370E #1D681A #2A9926 #37CA32 #66D862

Accessibility & contrast

On white

3.70
#2A9926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2A9926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9926
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9926#FFFFFF#000000##000000
##2A99261.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A0F
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#049483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9926;
/* rgb */ color: rgb(42, 153, 38);
/* oklch */ color: oklch(59.9% 0.180 142.5);
Tailwind
colors: {
  custom: {
    50: '#75b868',
    500: '#2a9926',
    950: '#000000',
  },
}
SCSS
$custom: #2a9926;
$custom-light: #75b868;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9926",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 117.913,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59907,
    "c": 0.18016,
    "h": 142.5
  },
  "luminance": 0.23415
}

Semantic roles & 50–950 ramp

primary
#2A9926
secondary
#BA5EBD
accent
#44E3DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2A9926

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

Preview Lab → · Contrast checker → · Palette generator →

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