#2D7214#2D7214

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

Color values

HEX#2D7214
RGBrgb(45, 114, 20)
HSLhsl(104, 70%, 26%)
HSVhsv(104, 82%, 45%)
CMYKcmyk(60.5%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.22, -39.14, 41.90)
CIE-LCHlch(42.22, 57.34, 133.04°)
OKLaboklab(48.9% -0.1078 0.0932)
OKLCHoklch(48.9% 0.143 139.2)
XYZxyz(7.2255, 12.6424, 2.7211)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7214 #591472
analogous
#5C7214 #2D7214 #14722A
triadic
#2D7214 #142D72 #72142D
tetradic
#2D7214 #145C72 #591472 #722A14
square
#2D7214 #145C72 #591472 #722A14
split-complementary
#2D7214 #2A1472 #72145C
monochromatic
#0A1A05 #183E0B #2D7214 #42A61D #57D927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7214#FFFFFF#000000##FFFFFF
##2D72141.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)
#6D621F
Tritanopia (blue-blind)
#256E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7214;
/* rgb */ color: rgb(45, 114, 20);
/* oklch */ color: oklch(48.9% 0.143 139.2);
Tailwind
colors: {
  custom: {
    50: '#6f9b5a',
    500: '#2d7214',
    950: '#000000',
  },
}
SCSS
$custom: #2d7214;
$custom-light: #6f9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7214",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 104.043,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48898,
    "c": 0.14251,
    "h": 139.2
  },
  "luminance": 0.12643
}

Semantic roles & 50–950 ramp

primary
#2D7214
secondary
#8B39A8
accent
#3BEDBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7214

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

Preview Lab → · Contrast checker → · Palette generator →

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