#2A9428#2A9428

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

Color values

HEX#2A9428
RGBrgb(42, 148, 40)
HSLhsl(119, 57%, 37%)
HSVhsv(119, 73%, 58%)
CMYKcmyk(71.6%, 0%, 73%, 42%)
CIE-LABlab(53.84, -50.71, 46.08)
CIE-LCHlch(53.84, 68.52, 137.74°)
OKLaboklab(58.54% -0.1378 0.1048)
OKLCHoklch(58.54% 0.173 142.7)
XYZxyz(11.9270, 21.8240, 5.5909)
Luminance0.2182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9428 #922894
analogous
#609428 #2A9428 #28945C
triadic
#2A9428 #282A94 #94282A
tetradic
#2A9428 #286094 #922894 #945C28
square
#2A9428 #286094 #922894 #945C28
split-complementary
#2A9428 #5C2894 #942860
monochromatic
#0F340E #1C641B #2A9428 #38C435 #64D562

Accessibility & contrast

On white

3.91
#2A9428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9428#FFFFFF#000000##000000
##2A94281.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978616
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#08907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a9428;
/* rgb */ color: rgb(42, 148, 40);
/* oklch */ color: oklch(58.5% 0.173 142.7);
Tailwind
colors: {
  custom: {
    50: '#74b469',
    500: '#2a9428',
    950: '#000000',
  },
}
SCSS
$custom: #2a9428;
$custom-light: #74b469;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9428",
  "rgb": {
    "r": 42,
    "g": 148,
    "b": 40
  },
  "hsl": {
    "h": 118.889,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58537,
    "c": 0.17311,
    "h": 142.7
  },
  "luminance": 0.21825
}

Semantic roles & 50–950 ramp

primary
#2A9428
secondary
#B85EBA
accent
#47E1DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9428

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

Preview Lab → · Contrast checker → · Palette generator →

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