#2A8D23#2A8D23

#2A8D23 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.168 H 142.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A8D23
RGBrgb(42, 141, 35)
HSLhsl(116, 60%, 35%)
HSVhsv(116, 75%, 55%)
CMYKcmyk(70.2%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.45, -48.70, 45.56)
CIE-LCHlch(51.45, 66.69, 136.91°)
OKLaboklab(56.55% -0.1326 0.1031)
OKLCHoklch(56.55% 0.168 142.1)
XYZxyz(10.7825, 19.6622, 4.8167)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D23 #86238D
analogous
#5F8D23 #2A8D23 #238D51
triadic
#2A8D23 #232A8D #8D232A
tetradic
#2A8D23 #235F8D #86238D #8D5123
square
#2A8D23 #235F8D #86238D #8D5123
split-complementary
#2A8D23 #51238D #8D235F
monochromatic
#0D2B0B #1B5C17 #2A8D23 #39BE2F #5ED555

Accessibility & contrast

On white

4.26
#2A8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2A8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D23
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D23#FFFFFF#000000##000000
##2A8D231.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#118978
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d23;
/* rgb */ color: rgb(42, 141, 35);
/* oklch */ color: oklch(56.5% 0.168 142.1);
Tailwind
colors: {
  custom: {
    50: '#73af65',
    500: '#2a8d23',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d23;
$custom-light: #73af65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d23",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 116.038,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56547,
    "c": 0.16794,
    "h": 142.1
  },
  "luminance": 0.19663
}

Semantic roles & 50–950 ramp

primary
#2A8D23
secondary
#B253B9
accent
#44E3D9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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