#2D7526#2D7526

#2D7526 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.134 H 141.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2D7526
RGBrgb(45, 117, 38)
HSLhsl(115, 51%, 30%)
HSVhsv(115, 68%, 46%)
CMYKcmyk(61.5%, 0%, 67.5%, 54.1%)
CIE-LABlab(43.39, -38.77, 35.84)
CIE-LCHlch(43.39, 52.80, 137.25°)
OKLaboklab(49.91% -0.1057 0.083)
OKLCHoklch(49.91% 0.134 141.9)
XYZxyz(7.7929, 13.4197, 4.0129)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7526 #6E2675
analogous
#547526 #2D7526 #267547
triadic
#2D7526 #262D75 #75262D
tetradic
#2D7526 #265475 #6E2675 #754726
square
#2D7526 #265475 #6E2675 #754726
split-complementary
#2D7526 #472675 #752654
monochromatic
#091908 #1B4717 #2D7526 #3FA335 #5AC64F

Accessibility & contrast

On white

5.70
#2D7526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2D7526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7526
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7526#FFFFFF#000000##FFFFFF
##2D75261.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1C
Deuteranopia (green-blind)
#6F642D
Tritanopia (blue-blind)
#227165
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7526;
/* rgb */ color: rgb(45, 117, 38);
/* oklch */ color: oklch(49.9% 0.134 141.9);
Tailwind
colors: {
  custom: {
    50: '#6f9d64',
    500: '#2d7526',
    950: '#000000',
  },
}
SCSS
$custom: #2d7526;
$custom-light: #6f9d64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7526",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 114.684,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.13442,
    "h": 141.9
  },
  "luminance": 0.1342
}

Semantic roles & 50–950 ramp

primary
#2D7526
secondary
#A04FA7
accent
#4DDACE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D7526

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

Preview Lab → · Contrast checker → · Palette generator →

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