#2A9727#2A9727

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

Color values

HEX#2A9727
RGBrgb(42, 151, 39)
HSLhsl(118, 59%, 37%)
HSVhsv(118, 74%, 59%)
CMYKcmyk(72.2%, 0%, 74.2%, 40.8%)
CIE-LABlab(54.84, -51.82, 47.48)
CIE-LCHlch(54.84, 70.29, 137.50°)
OKLaboklab(59.36% -0.1408 0.1076)
OKLCHoklch(59.36% 0.177 142.6)
XYZxyz(12.3869, 22.7706, 5.6614)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9727 #942797
analogous
#629727 #2A9727 #27975C
triadic
#2A9727 #272A97 #97272A
tetradic
#2A9727 #276297 #942797 #975C27
square
#2A9727 #276297 #942797 #975C27
split-complementary
#2A9727 #5C2797 #972762
monochromatic
#0F360E #1C661A #2A9727 #38C834 #65D662

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9727#FFFFFF#000000##000000
##2A97271.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)
#9A8813
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#069281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9727;
/* rgb */ color: rgb(42, 151, 39);
/* oklch */ color: oklch(59.4% 0.177 142.6);
Tailwind
colors: {
  custom: {
    50: '#75b769',
    500: '#2a9727',
    950: '#000000',
  },
}
SCSS
$custom: #2a9727;
$custom-light: #75b769;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9727",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 118.393,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59361,
    "c": 0.17725,
    "h": 142.6
  },
  "luminance": 0.22772
}

Semantic roles & 50–950 ramp

primary
#2A9727
secondary
#B95EBC
accent
#46E2DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2A9727

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

Preview Lab → · Contrast checker → · Palette generator →

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