#2D7C14#2D7C14

#2D7C14 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.155 H 139.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D7C14
RGBrgb(45, 124, 20)
HSLhsl(106, 72%, 28%)
HSVhsv(106, 84%, 49%)
CMYKcmyk(63.7%, 0%, 83.9%, 51.4%)
CIE-LABlab(45.67, -42.95, 45.13)
CIE-LCHlch(45.67, 62.30, 133.58°)
OKLaboklab(51.75% -0.118 0.0999)
OKLCHoklch(51.75% 0.155 139.7)
XYZxyz(8.4157, 15.0229, 3.1179)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C14 #63147C
analogous
#617C14 #2D7C14 #147C2F
triadic
#2D7C14 #142D7C #7C142D
tetradic
#2D7C14 #14617C #63147C #7C2F14
square
#2D7C14 #14617C #63147C #7C2F14
split-complementary
#2D7C14 #2F147C #7C1461
monochromatic
#0A1A04 #1A470B #2D7C14 #40B11D #58DD2D

Accessibility & contrast

On white

5.24
#2D7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2D7C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C14
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C14#FFFFFF#000000##FFFFFF
##2D7C141.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#227869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7c14;
/* rgb */ color: rgb(45, 124, 20);
/* oklch */ color: oklch(51.7% 0.155 139.7);
Tailwind
colors: {
  custom: {
    50: '#71a35c',
    500: '#2d7c14',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c14;
$custom-light: #71a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c14",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 105.577,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51747,
    "c": 0.15467,
    "h": 139.7
  },
  "luminance": 0.15024
}

Semantic roles & 50–950 ramp

primary
#2D7C14
secondary
#953AB2
accent
#39EFC3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2D7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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