#2D7823#2D7823

#2D7823 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.141 H 141.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2D7823
RGBrgb(45, 120, 35)
HSLhsl(113, 55%, 30%)
HSVhsv(113, 71%, 47%)
CMYKcmyk(62.5%, 0%, 70.8%, 52.9%)
CIE-LABlab(44.39, -40.27, 38.27)
CIE-LCHlch(44.39, 55.55, 136.45°)
OKLaboklab(50.73% -0.1099 0.0878)
OKLCHoklch(50.73% 0.141 141.4)
XYZxyz(8.1016, 14.1114, 3.8866)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7823 #6E2378
analogous
#577823 #2D7823 #237843
triadic
#2D7823 #232D78 #78232D
tetradic
#2D7823 #235778 #6E2378 #784323
square
#2D7823 #235778 #6E2378 #784323
split-complementary
#2D7823 #432378 #782357
monochromatic
#091907 #1B4915 #2D7823 #3FA731 #5ACA4B

Accessibility & contrast

On white

5.49
#2D7823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2D7823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7823
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7823#FFFFFF#000000##FFFFFF
##2D78231.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D17
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#217467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d7823;
/* rgb */ color: rgb(45, 120, 35);
/* oklch */ color: oklch(50.7% 0.141 141.4);
Tailwind
colors: {
  custom: {
    50: '#70a063',
    500: '#2d7823',
    950: '#000000',
  },
}
SCSS
$custom: #2d7823;
$custom-light: #70a063;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7823",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 112.941,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.14069,
    "h": 141.4
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#2D7823
secondary
#A04CAB
accent
#4ADECD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2D7823

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

Preview Lab → · Contrast checker → · Palette generator →

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