#2A9F26#2A9F26

#2A9F26 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.6% C 0.187 H 142.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2A9F26
RGBrgb(42, 159, 38)
HSLhsl(118, 61%, 39%)
HSVhsv(118, 76%, 62%)
CMYKcmyk(73.6%, 0%, 76.1%, 37.6%)
CIE-LABlab(57.49, -54.59, 50.52)
CIE-LCHlch(57.49, 74.38, 137.22°)
OKLaboklab(61.56% -0.1484 0.1138)
OKLCHoklch(61.56% 0.187 142.5)
XYZxyz(13.7020, 25.4269, 6.0191)
Luminance0.2543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9F26 #9B269F
analogous
#669F26 #2A9F26 #269F5E
triadic
#2A9F26 #262A9F #9F262A
tetradic
#2A9F26 #26669F #9B269F #9F5E26
square
#2A9F26 #26669F #9B269F #9F5E26
split-complementary
#2A9F26 #5E269F #9F2666
monochromatic
#103C0E #1D6E1A #2A9F26 #39CE34 #69DA65

Accessibility & contrast

On white

3.45
#2A9F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#2A9F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9F26
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9F26#FFFFFF#000000##000000
##2A9F261.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900C
Deuteranopia (green-blind)
#958733
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9f26;
/* rgb */ color: rgb(42, 159, 38);
/* oklch */ color: oklch(61.6% 0.187 142.5);
Tailwind
colors: {
  custom: {
    50: '#77bc69',
    500: '#2a9f26',
    950: '#000000',
  },
}
SCSS
$custom: #2a9f26;
$custom-light: #77bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9f26",
  "rgb": {
    "r": 42,
    "g": 159,
    "b": 38
  },
  "hsl": {
    "h": 118.017,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61562,
    "c": 0.187,
    "h": 142.5
  },
  "luminance": 0.25428
}

Semantic roles & 50–950 ramp

primary
#2A9F26
secondary
#BD61C0
accent
#43E5DF
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9F26

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

Preview Lab → · Contrast checker → · Palette generator →

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