#2A9018#2A9018

#2A9018 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.177 H 141.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2A9018
RGBrgb(42, 144, 24)
HSLhsl(111, 71%, 33%)
HSVhsv(111, 83%, 56%)
CMYKcmyk(70.8%, 0%, 83.3%, 43.5%)
CIE-LABlab(52.40, -50.49, 50.16)
CIE-LCHlch(52.40, 71.17, 135.19°)
OKLaboklab(57.31% -0.138 0.1111)
OKLCHoklch(57.31% 0.177 141.2)
XYZxyz(11.0924, 20.5035, 4.2370)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9018 #7E1890
analogous
#669018 #2A9018 #189042
triadic
#2A9018 #182A90 #90182A
tetradic
#2A9018 #186690 #7E1890 #904218
square
#2A9018 #186690 #7E1890 #904218
split-complementary
#2A9018 #421890 #901866
monochromatic
#0B2707 #1B5C0F #2A9018 #39C421 #5AE043

Accessibility & contrast

On white

4.12
#2A9018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2A9018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9018
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9018#FFFFFF#000000##000000
##2A90181.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#128B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a9018;
/* rgb */ color: rgb(42, 144, 24);
/* oklch */ color: oklch(57.3% 0.177 141.2);
Tailwind
colors: {
  custom: {
    50: '#74b261',
    500: '#2a9018',
    950: '#000000',
  },
}
SCSS
$custom: #2a9018;
$custom-light: #74b261;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9018",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 111,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.17714,
    "h": 141.2
  },
  "luminance": 0.20505
}

Semantic roles & 50–950 ramp

primary
#2A9018
secondary
#AE43C0
accent
#3AEED3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2A9018

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

Preview Lab → · Contrast checker → · Palette generator →

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