#2A9258#2A9258

#2A9258 is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.7% C 0.129 H 154.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2A9258
RGBrgb(42, 146, 88)
HSLhsl(147, 55%, 37%)
HSVhsv(147, 71%, 57%)
CMYKcmyk(71.2%, 0%, 39.7%, 42.7%)
CIE-LABlab(53.76, -43.13, 22.45)
CIE-LCHlch(53.76, 48.62, 152.50°)
OKLaboklab(58.67% -0.1165 0.056)
OKLCHoklch(58.67% 0.129 154.3)
XYZxyz(12.9940, 21.7531, 12.7446)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9258 #922A64
analogous
#30922A #2A9258 #2A928C
triadic
#2A9258 #582A92 #92582A
tetradic
#2A9258 #2A3092 #922A64 #928C2A
square
#2A9258 #2A3092 #922A64 #928C2A
split-complementary
#2A9258 #8C2A92 #922A30
monochromatic
#0F331F #1C623B #2A9258 #38C275 #64D295

Accessibility & contrast

On white

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

On black

5.35
#2A9258 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9258
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9258#FFFFFF#000000##000000
##2A92581.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928654
Deuteranopia (green-blind)
#857D5C
Tritanopia (blue-blind)
#009083
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2a9258;
/* rgb */ color: rgb(42, 146, 88);
/* oklch */ color: oklch(58.7% 0.129 154.3);
Tailwind
colors: {
  custom: {
    50: '#72b387',
    500: '#2a9258',
    950: '#000000',
  },
}
SCSS
$custom: #2a9258;
$custom-light: #72b387;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9258",
  "rgb": {
    "r": 42,
    "g": 146,
    "b": 88
  },
  "hsl": {
    "h": 146.538,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58666,
    "c": 0.12924,
    "h": 154.3
  },
  "luminance": 0.21755
}

Semantic roles & 50–950 ramp

primary
#2A9258
secondary
#B85F91
accent
#499DDF
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2A9258

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

Preview Lab → · Contrast checker → · Palette generator →

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