#2D7310#2D7310

#2D7310 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.146 H 138.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2D7310
RGBrgb(45, 115, 16)
HSLhsl(102, 76%, 26%)
HSVhsv(102, 86%, 45%)
CMYKcmyk(60.9%, 0%, 86.1%, 54.9%)
CIE-LABlab(42.55, -39.76, 43.45)
CIE-LCHlch(42.55, 58.89, 132.46°)
OKLaboklab(49.16% -0.1097 0.0958)
OKLCHoklch(49.16% 0.146 138.9)
XYZxyz(7.3062, 12.8561, 2.5866)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7310 #561073
analogous
#5E7310 #2D7310 #107324
triadic
#2D7310 #102D73 #73102D
tetradic
#2D7310 #105E73 #561073 #732410
square
#2D7310 #105E73 #561073 #732410
split-complementary
#2D7310 #241073 #73105E
monochromatic
#0B1B04 #183D09 #2D7310 #42A917 #57DE1F

Accessibility & contrast

On white

5.88
#2D7310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2D7310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7310
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7310#FFFFFF#000000##FFFFFF
##2D73101.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#256F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7310;
/* rgb */ color: rgb(45, 115, 16);
/* oklch */ color: oklch(49.2% 0.146 138.9);
Tailwind
colors: {
  custom: {
    50: '#709c59',
    500: '#2d7310',
    950: '#000000',
  },
}
SCSS
$custom: #2d7310;
$custom-light: #709c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7310",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 102.424,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49161,
    "c": 0.14565,
    "h": 138.9
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

primary
#2D7310
secondary
#8834AA
accent
#36F2BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7310

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

Preview Lab → · Contrast checker → · Palette generator →

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