#2A9726#2A9726

#2A9726 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.178 H 142.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2A9726
RGBrgb(42, 151, 38)
HSLhsl(118, 60%, 37%)
HSVhsv(118, 75%, 59%)
CMYKcmyk(72.2%, 0%, 74.8%, 40.8%)
CIE-LABlab(54.83, -51.91, 47.85)
CIE-LCHlch(54.83, 70.60, 137.33°)
OKLaboklab(59.35% -0.1411 0.1082)
OKLCHoklch(59.35% 0.178 142.5)
XYZxyz(12.3706, 22.7640, 5.5753)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9726 #932697
analogous
#639726 #2A9726 #26975B
triadic
#2A9726 #262A97 #97262A
tetradic
#2A9726 #266397 #932697 #975B26
square
#2A9726 #266397 #932697 #975B26
split-complementary
#2A9726 #5B2697 #972663
monochromatic
#0F350D #1C661A #2A9726 #38C832 #65D760

Accessibility & contrast

On white

3.78
#2A9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2A9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9726
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9726#FFFFFF#000000##000000
##2A97261.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8811
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#069281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9726;
/* rgb */ color: rgb(42, 151, 38);
/* oklch */ color: oklch(59.4% 0.178 142.5);
Tailwind
colors: {
  custom: {
    50: '#75b768',
    500: '#2a9726',
    950: '#000000',
  },
}
SCSS
$custom: #2a9726;
$custom-light: #75b768;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9726",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 117.876,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.17785,
    "h": 142.5
  },
  "luminance": 0.22765
}

Semantic roles & 50–950 ramp

primary
#2A9726
secondary
#B95CBC
accent
#45E3DD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9726

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

Preview Lab → · Contrast checker → · Palette generator →

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