#2A9427#2A9427

#2A9427 is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.174 H 142.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2A9427
RGBrgb(42, 148, 39)
HSLhsl(118, 58%, 37%)
HSVhsv(118, 74%, 58%)
CMYKcmyk(71.6%, 0%, 73.6%, 42%)
CIE-LABlab(53.83, -50.80, 46.46)
CIE-LCHlch(53.83, 68.84, 137.55°)
OKLaboklab(58.53% -0.1381 0.1055)
OKLCHoklch(58.53% 0.174 142.6)
XYZxyz(11.9103, 21.8172, 5.5025)
Luminance0.2182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9427 #912794
analogous
#619427 #2A9427 #27945B
triadic
#2A9427 #272A94 #94272A
tetradic
#2A9427 #276194 #912794 #945B27
square
#2A9427 #276194 #912794 #945B27
split-complementary
#2A9427 #5B2794 #942761
monochromatic
#0F330D #1C641A #2A9427 #38C434 #63D560

Accessibility & contrast

On white

3.92
#2A9427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#2A9427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9427
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9427#FFFFFF#000000##000000
##2A94271.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978614
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#09907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a9427;
/* rgb */ color: rgb(42, 148, 39);
/* oklch */ color: oklch(58.5% 0.174 142.6);
Tailwind
colors: {
  custom: {
    50: '#74b468',
    500: '#2a9427',
    950: '#000000',
  },
}
SCSS
$custom: #2a9427;
$custom-light: #74b468;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9427",
  "rgb": {
    "r": 42,
    "g": 148,
    "b": 39
  },
  "hsl": {
    "h": 118.349,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58529,
    "c": 0.17373,
    "h": 142.6
  },
  "luminance": 0.21819
}

Semantic roles & 50–950 ramp

primary
#2A9427
secondary
#B85CBB
accent
#46E2DD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9427

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

Preview Lab → · Contrast checker → · Palette generator →

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