#2A8E23#2A8E23

#2A8E23 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.169 H 142.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A8E23
RGBrgb(42, 142, 35)
HSLhsl(116, 60%, 35%)
HSVhsv(116, 75%, 56%)
CMYKcmyk(70.4%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.79, -49.05, 45.90)
CIE-LCHlch(51.79, 67.18, 136.90°)
OKLaboklab(56.83% -0.1335 0.1038)
OKLCHoklch(56.83% 0.169 142.2)
XYZxyz(10.9306, 19.9584, 4.8661)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E23 #87238E
analogous
#5F8E23 #2A8E23 #238E52
triadic
#2A8E23 #232A8E #8E232A
tetradic
#2A8E23 #235F8E #87238E #8E5223
square
#2A8E23 #235F8E #87238E #8E5223
split-complementary
#2A8E23 #52238E #8E235F
monochromatic
#0D2C0B #1B5D17 #2A8E23 #39BF2F #5ED556

Accessibility & contrast

On white

4.21
#2A8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2A8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E23
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E23#FFFFFF#000000##000000
##2A8E231.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#108A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8e23;
/* rgb */ color: rgb(42, 142, 35);
/* oklch */ color: oklch(56.8% 0.169 142.2);
Tailwind
colors: {
  custom: {
    50: '#73b065',
    500: '#2a8e23',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e23;
$custom-light: #73b065;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e23",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 116.075,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.16912,
    "h": 142.2
  },
  "luminance": 0.1996
}

Semantic roles & 50–950 ramp

primary
#2A8E23
secondary
#B353B9
accent
#44E4D9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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