#2A9028#2A9028

#2A9028 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.4% C 0.168 H 142.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2A9028
RGBrgb(42, 144, 40)
HSLhsl(119, 57%, 36%)
HSVhsv(119, 72%, 56%)
CMYKcmyk(70.8%, 0%, 72.2%, 43.5%)
CIE-LABlab(52.50, -49.32, 44.69)
CIE-LCHlch(52.50, 66.55, 137.82°)
OKLaboklab(57.43% -0.134 0.1019)
OKLCHoklch(57.43% 0.168 142.8)
XYZxyz(11.3104, 20.5907, 5.3854)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9028 #8E2890
analogous
#5E9028 #2A9028 #28905A
triadic
#2A9028 #282A90 #90282A
tetradic
#2A9028 #285E90 #8E2890 #905A28
square
#2A9028 #285E90 #8E2890 #905A28
split-complementary
#2A9028 #5A2890 #90285E
monochromatic
#0E300D #1C601B #2A9028 #38C035 #62D360

Accessibility & contrast

On white

4.10
#2A9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2A9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9028
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9028#FFFFFF#000000##000000
##2A90281.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938217
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#0D8C7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a9028;
/* rgb */ color: rgb(42, 144, 40);
/* oklch */ color: oklch(57.4% 0.168 142.8);
Tailwind
colors: {
  custom: {
    50: '#73b168',
    500: '#2a9028',
    950: '#000000',
  },
}
SCSS
$custom: #2a9028;
$custom-light: #73b168;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9028",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 118.846,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.16835,
    "h": 142.8
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#2A9028
secondary
#B65CB8
accent
#48E0DD
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9028

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

Preview Lab → · Contrast checker → · Palette generator →

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