#2D8123#2D8123

#2D8123 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.152 H 141.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2D8123
RGBrgb(45, 129, 35)
HSLhsl(114, 57%, 32%)
HSVhsv(114, 73%, 51%)
CMYKcmyk(65.1%, 0%, 72.9%, 49.4%)
CIE-LABlab(47.47, -43.70, 41.51)
CIE-LCHlch(47.47, 60.27, 136.48°)
OKLaboklab(53.27% -0.1192 0.0946)
OKLCHoklch(53.27% 0.152 141.6)
XYZxyz(9.2353, 16.3789, 4.2645)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8123 #772381
analogous
#5C8123 #2D8123 #238148
triadic
#2D8123 #232D81 #81232D
tetradic
#2D8123 #235C81 #772381 #814823
square
#2D8123 #235C81 #772381 #814823
split-complementary
#2D8123 #482381 #81235C
monochromatic
#0B2109 #1C5116 #2D8123 #3EB130 #5DCF4F

Accessibility & contrast

On white

4.91
#2D8123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2D8123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8123
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8123#FFFFFF#000000##FFFFFF
##2D81231.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847514
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#1E7D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8123;
/* rgb */ color: rgb(45, 129, 35);
/* oklch */ color: oklch(53.3% 0.152 141.6);
Tailwind
colors: {
  custom: {
    50: '#71a664',
    500: '#2d8123',
    950: '#000000',
  },
}
SCSS
$custom: #2d8123;
$custom-light: #71a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8123",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 113.617,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53269,
    "c": 0.15218,
    "h": 141.6
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#2D8123
secondary
#A84DB3
accent
#47E1D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2D8123

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

Preview Lab → · Contrast checker → · Palette generator →

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