#2D9123#2D9123

#2D9123 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.7% C 0.172 H 141.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2D9123
RGBrgb(45, 145, 35)
HSLhsl(115, 61%, 35%)
HSVhsv(115, 76%, 57%)
CMYKcmyk(69%, 0%, 75.9%, 43.1%)
CIE-LABlab(52.87, -49.49, 47.01)
CIE-LCHlch(52.87, 68.26, 136.47°)
OKLaboklab(57.74% -0.1349 0.1061)
OKLCHoklch(57.74% 0.172 141.8)
XYZxyz(11.5103, 20.9288, 5.0229)
Luminance0.2093 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9123 #872391
analogous
#649123 #2D9123 #239150
triadic
#2D9123 #232D91 #91232D
tetradic
#2D9123 #236491 #872391 #915023
square
#2D9123 #236491 #872391 #915023
split-complementary
#2D9123 #502391 #912364
monochromatic
#0E2E0B #1E6017 #2D9123 #3CC22F #63D758

Accessibility & contrast

On white

4.05
#2D9123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2D9123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9123
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9123#FFFFFF#000000##000000
##2D91231.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#168C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2d9123;
/* rgb */ color: rgb(45, 145, 35);
/* oklch */ color: oklch(57.7% 0.172 141.8);
Tailwind
colors: {
  custom: {
    50: '#75b266',
    500: '#2d9123',
    950: '#000000',
  },
}
SCSS
$custom: #2d9123;
$custom-light: #75b266;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9123",
  "rgb": {
    "r": 45,
    "g": 145,
    "b": 35
  },
  "hsl": {
    "h": 114.545,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.1716,
    "h": 141.8
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#2D9123
secondary
#B255BB
accent
#44E4D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D9123

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

Preview Lab → · Contrast checker → · Palette generator →

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