#2A8623#2A8623

#2A8623 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.160 H 142.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A8623
RGBrgb(42, 134, 35)
HSLhsl(116, 59%, 33%)
HSVhsv(116, 74%, 53%)
CMYKcmyk(68.7%, 0%, 73.9%, 47.5%)
CIE-LABlab(49.08, -46.22, 43.15)
CIE-LCHlch(49.08, 63.23, 136.96°)
OKLaboklab(54.58% -0.1259 0.098)
OKLCHoklch(54.58% 0.16 142.1)
XYZxyz(9.7828, 17.6628, 4.4835)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8623 #7F2386
analogous
#5B8623 #2A8623 #23864E
triadic
#2A8623 #232A86 #86232A
tetradic
#2A8623 #235B86 #7F2386 #864E23
square
#2A8623 #235B86 #7F2386 #864E23
split-complementary
#2A8623 #4E2386 #86235B
monochromatic
#0C250A #1B5516 #2A8623 #39B730 #5BD252

Accessibility & contrast

On white

4.63
#2A8623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2A8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8623
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8623#FFFFFF#000000##FFFFFF
##2A86231.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#168273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8623;
/* rgb */ color: rgb(42, 134, 35);
/* oklch */ color: oklch(54.6% 0.160 142.1);
Tailwind
colors: {
  custom: {
    50: '#71aa64',
    500: '#2a8623',
    950: '#000000',
  },
}
SCSS
$custom: #2a8623;
$custom-light: #71aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8623",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 115.758,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.15953,
    "h": 142.1
  },
  "luminance": 0.17664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8623

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

Preview Lab → · Contrast checker → · Palette generator →

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