#2A9223#2A9223

#2A9223 is a mid, vivid green. Relative luminance 0.212; OKLCH L 57.9% C 0.174 H 142.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2A9223
RGBrgb(42, 146, 35)
HSLhsl(116, 61%, 35%)
HSVhsv(116, 76%, 57%)
CMYKcmyk(71.2%, 0%, 76%, 42.7%)
CIE-LABlab(53.14, -50.44, 47.26)
CIE-LCHlch(53.14, 69.12, 136.86°)
OKLaboklab(57.94% -0.1373 0.1066)
OKLCHoklch(57.94% 0.174 142.2)
XYZxyz(11.5364, 21.1701, 5.0680)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9223 #8B2392
analogous
#619223 #2A9223 #239253
triadic
#2A9223 #232A92 #92232A
tetradic
#2A9223 #236192 #8B2392 #925323
square
#2A9223 #236192 #8B2392 #925323
split-complementary
#2A9223 #532392 #922361
monochromatic
#0E2F0B #1C6117 #2A9223 #38C32F #60D758

Accessibility & contrast

On white

4.01
#2A9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#2A9223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9223
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9223#FFFFFF#000000##000000
##2A92231.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840C
Deuteranopia (green-blind)
#897C2F
Tritanopia (blue-blind)
#0D8D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9223;
/* rgb */ color: rgb(42, 146, 35);
/* oklch */ color: oklch(57.9% 0.174 142.2);
Tailwind
colors: {
  custom: {
    50: '#74b366',
    500: '#2a9223',
    950: '#000000',
  },
}
SCSS
$custom: #2a9223;
$custom-light: #74b366;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9223",
  "rgb": {
    "r": 42,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 116.216,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.1738,
    "h": 142.2
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#2A9223
secondary
#B555BB
accent
#43E4DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9223

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

Preview Lab → · Contrast checker → · Palette generator →

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