#2A8023#2A8023

#2A8023 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.152 H 142.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A8023
RGBrgb(42, 128, 35)
HSLhsl(115, 57%, 32%)
HSVhsv(115, 73%, 50%)
CMYKcmyk(67.2%, 0%, 72.7%, 49.8%)
CIE-LABlab(47.04, -44.03, 41.04)
CIE-LCHlch(47.04, 60.19, 137.01°)
OKLaboklab(52.89% -0.1199 0.0936)
OKLCHoklch(52.89% 0.152 142)
XYZxyz(8.9769, 16.0510, 4.2149)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8023 #792380
analogous
#598023 #2A8023 #23804B
triadic
#2A8023 #232A80 #80232A
tetradic
#2A8023 #235980 #792380 #804B23
square
#2A8023 #235980 #792380 #804B23
split-complementary
#2A8023 #4B2380 #802359
monochromatic
#0A2009 #1A5016 #2A8023 #3AB030 #58CF4F

Accessibility & contrast

On white

4.99
#2A8023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2A8023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8023
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8023#FFFFFF#000000##FFFFFF
##2A80231.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#197C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a8023;
/* rgb */ color: rgb(42, 128, 35);
/* oklch */ color: oklch(52.9% 0.152 142.0);
Tailwind
colors: {
  custom: {
    50: '#70a664',
    500: '#2a8023',
    950: '#000000',
  },
}
SCSS
$custom: #2a8023;
$custom-light: #70a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8023",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 115.484,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.15214,
    "h": 142
  },
  "luminance": 0.16052
}

Semantic roles & 50–950 ramp

primary
#2A8023
secondary
#AB4DB2
accent
#47E0D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2A8023

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

Preview Lab → · Contrast checker → · Palette generator →

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