#2A9527#2A9527

#2A9527 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.175 H 142.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A9527
RGBrgb(42, 149, 39)
HSLhsl(118, 59%, 37%)
HSVhsv(118, 74%, 58%)
CMYKcmyk(71.8%, 0%, 73.8%, 41.6%)
CIE-LABlab(54.17, -51.14, 46.80)
CIE-LCHlch(54.17, 69.32, 137.54°)
OKLaboklab(58.81% -0.139 0.1062)
OKLCHoklch(58.81% 0.175 142.6)
XYZxyz(12.0678, 22.1323, 5.5550)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9527 #922795
analogous
#619527 #2A9527 #27955B
triadic
#2A9527 #272A95 #95272A
tetradic
#2A9527 #276195 #922795 #955B27
square
#2A9527 #276195 #922795 #955B27
split-complementary
#2A9527 #5B2795 #952761
monochromatic
#0F340E #1C641A #2A9527 #38C634 #64D661

Accessibility & contrast

On white

3.87
#2A9527 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2A9527 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9527
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9527#FFFFFF#000000##000000
##2A95271.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988714
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#089080
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a9527;
/* rgb */ color: rgb(42, 149, 39);
/* oklch */ color: oklch(58.8% 0.175 142.6);
Tailwind
colors: {
  custom: {
    50: '#74b568',
    500: '#2a9527',
    950: '#000000',
  },
}
SCSS
$custom: #2a9527;
$custom-light: #74b568;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9527",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 118.364,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58807,
    "c": 0.17491,
    "h": 142.6
  },
  "luminance": 0.22134
}

Semantic roles & 50–950 ramp

primary
#2A9527
secondary
#B85DBB
accent
#46E2DD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9527

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

Preview Lab → · Contrast checker → · Palette generator →

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