#2A8723#2A8723

#2A8723 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.161 H 142.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2A8723
RGBrgb(42, 135, 35)
HSLhsl(116, 59%, 33%)
HSVhsv(116, 74%, 53%)
CMYKcmyk(68.9%, 0%, 74.1%, 47.1%)
CIE-LABlab(49.42, -46.58, 43.50)
CIE-LCHlch(49.42, 63.73, 136.96°)
OKLaboklab(54.86% -0.1268 0.0987)
OKLCHoklch(54.86% 0.161 142.1)
XYZxyz(9.9216, 17.9405, 4.5298)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8723 #802387
analogous
#5C8723 #2A8723 #23874E
triadic
#2A8723 #232A87 #87232A
tetradic
#2A8723 #235C87 #802387 #874E23
square
#2A8723 #235C87 #802387 #874E23
split-complementary
#2A8723 #4E2387 #87235C
monochromatic
#0C260A #1B5616 #2A8723 #39B830 #5BD252

Accessibility & contrast

On white

4.58
#2A8723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2A8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8723
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8723#FFFFFF#000000##000000
##2A87231.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#7F732D
Tritanopia (blue-blind)
#158373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8723;
/* rgb */ color: rgb(42, 135, 35);
/* oklch */ color: oklch(54.9% 0.161 142.1);
Tailwind
colors: {
  custom: {
    50: '#71ab64',
    500: '#2a8723',
    950: '#000000',
  },
}
SCSS
$custom: #2a8723;
$custom-light: #71ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8723",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 115.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54865,
    "c": 0.16074,
    "h": 142.1
  },
  "luminance": 0.17942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8723

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

Preview Lab → · Contrast checker → · Palette generator →

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