#2D7213#2D7213

#2D7213 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.143 H 139.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2D7213
RGBrgb(45, 114, 19)
HSLhsl(104, 71%, 26%)
HSVhsv(104, 83%, 45%)
CMYKcmyk(60.5%, 0%, 83.3%, 55.3%)
CIE-LABlab(42.21, -39.20, 42.23)
CIE-LCHlch(42.21, 57.62, 132.87°)
OKLaboklab(48.89% -0.108 0.0937)
OKLCHoklch(48.89% 0.143 139.1)
XYZxyz(7.2168, 12.6389, 2.6752)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7213 #581372
analogous
#5C7213 #2D7213 #137228
triadic
#2D7213 #132D72 #72132D
tetradic
#2D7213 #135C72 #581372 #722813
square
#2D7213 #135C72 #581372 #722813
split-complementary
#2D7213 #281372 #72135C
monochromatic
#0A1A04 #183E0A #2D7213 #42A61C #57DB25

Accessibility & contrast

On white

5.95
#2D7213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2D7213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7213
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7213#FFFFFF#000000##FFFFFF
##2D72131.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#256E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7213;
/* rgb */ color: rgb(45, 114, 19);
/* oklch */ color: oklch(48.9% 0.143 139.1);
Tailwind
colors: {
  custom: {
    50: '#6f9b5a',
    500: '#2d7213',
    950: '#000000',
  },
}
SCSS
$custom: #2d7213;
$custom-light: #6f9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7213",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 103.579,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48892,
    "c": 0.14301,
    "h": 139.1
  },
  "luminance": 0.1264
}

Semantic roles & 50–950 ramp

primary
#2D7213
secondary
#8A38A9
accent
#3AEEBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7213

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

Preview Lab → · Contrast checker → · Palette generator →

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