#2A8A29#2A8A29

#2A8A29 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.160 H 142.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2A8A29
RGBrgb(42, 138, 41)
HSLhsl(119, 54%, 35%)
HSVhsv(119, 70%, 54%)
CMYKcmyk(69.6%, 0%, 70.3%, 45.9%)
CIE-LABlab(50.49, -47.10, 42.16)
CIE-LCHlch(50.49, 63.21, 138.17°)
OKLaboklab(55.76% -0.1279 0.0967)
OKLCHoklch(55.76% 0.16 142.9)
XYZxyz(10.4429, 18.8282, 5.1812)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A29 #89298A
analogous
#5B8A29 #2A8A29 #298A58
triadic
#2A8A29 #292A8A #8A292A
tetradic
#2A8A29 #295B8A #89298A #8A5829
square
#2A8A29 #295B8A #89298A #8A5829
split-complementary
#2A8A29 #58298A #8A295B
monochromatic
#0D2C0D #1C5B1B #2A8A29 #38B937 #5FCF5E

Accessibility & contrast

On white

4.41
#2A8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2A8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A29
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A29#FFFFFF#000000##000000
##2A8A291.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1B
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#118676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a29;
/* rgb */ color: rgb(42, 138, 41);
/* oklch */ color: oklch(55.8% 0.160 142.9);
Tailwind
colors: {
  custom: {
    50: '#72ad68',
    500: '#2a8a29',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a29;
$custom-light: #72ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a29",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 119.381,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55759,
    "c": 0.16038,
    "h": 142.9
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#2A8A29
secondary
#B45AB5
accent
#4ADEDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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