#2A8823#2A8823

#2A8823 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.162 H 142.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A8823
RGBrgb(42, 136, 35)
HSLhsl(116, 59%, 34%)
HSVhsv(116, 74%, 53%)
CMYKcmyk(69.1%, 0%, 74.3%, 46.7%)
CIE-LABlab(49.76, -46.93, 43.85)
CIE-LCHlch(49.76, 64.23, 136.95°)
OKLaboklab(55.15% -0.1278 0.0995)
OKLCHoklch(55.15% 0.162 142.1)
XYZxyz(10.0618, 18.2209, 4.5765)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8823 #812388
analogous
#5C8823 #2A8823 #23884E
triadic
#2A8823 #232A88 #88232A
tetradic
#2A8823 #235C88 #812388 #884E23
square
#2A8823 #235C88 #812388 #884E23
split-complementary
#2A8823 #4E2388 #88235C
monochromatic
#0C270A #1B5716 #2A8823 #39B930 #5CD353

Accessibility & contrast

On white

4.52
#2A8823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2A8823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8823
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8823#FFFFFF#000000##000000
##2A88231.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B11
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#148474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8823;
/* rgb */ color: rgb(42, 136, 35);
/* oklch */ color: oklch(55.1% 0.162 142.1);
Tailwind
colors: {
  custom: {
    50: '#72ac65',
    500: '#2a8823',
    950: '#000000',
  },
}
SCSS
$custom: #2a8823;
$custom-light: #72ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8823",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 115.842,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55146,
    "c": 0.16196,
    "h": 142.1
  },
  "luminance": 0.18222
}

Semantic roles & 50–950 ramp

primary
#2A8823
secondary
#AF50B7
accent
#46E2D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8823

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

Preview Lab → · Contrast checker → · Palette generator →

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