#2A8323#2A8323

#2A8323 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.156 H 142.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A8323
RGBrgb(42, 131, 35)
HSLhsl(116, 58%, 33%)
HSVhsv(116, 73%, 51%)
CMYKcmyk(67.9%, 0%, 73.3%, 48.6%)
CIE-LABlab(48.06, -45.13, 42.10)
CIE-LCHlch(48.06, 61.72, 136.99°)
OKLaboklab(53.74% -0.1229 0.0958)
OKLCHoklch(53.74% 0.156 142.1)
XYZxyz(9.3740, 16.8452, 4.3472)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8323 #7C2383
analogous
#5A8323 #2A8323 #23834C
triadic
#2A8323 #232A83 #83232A
tetradic
#2A8323 #235A83 #7C2383 #834C23
square
#2A8323 #235A83 #7C2383 #834C23
split-complementary
#2A8323 #4C2383 #83235A
monochromatic
#0B2209 #1B5316 #2A8323 #39B330 #59D050

Accessibility & contrast

On white

4.81
#2A8323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2A8323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8323
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8323#FFFFFF#000000##FFFFFF
##2A83231.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#7C6F2D
Tritanopia (blue-blind)
#177F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a8323;
/* rgb */ color: rgb(42, 131, 35);
/* oklch */ color: oklch(53.7% 0.156 142.1);
Tailwind
colors: {
  custom: {
    50: '#71a864',
    500: '#2a8323',
    950: '#000000',
  },
}
SCSS
$custom: #2a8323;
$custom-light: #71a864;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8323",
  "rgb": {
    "r": 42,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 115.625,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.15586,
    "h": 142.1
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#2A8323
secondary
#AD4EB4
accent
#47E1D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #2A8323

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

Preview Lab → · Contrast checker → · Palette generator →

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