#2D7316#2D7316

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

Color values

HEX#2D7316
RGBrgb(45, 115, 22)
HSLhsl(105, 68%, 27%)
HSVhsv(105, 81%, 45%)
CMYKcmyk(60.9%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.58, -39.39, 41.57)
CIE-LCHlch(42.58, 57.27, 133.46°)
OKLaboklab(49.2% -0.1084 0.0928)
OKLCHoklch(49.2% 0.143 139.4)
XYZxyz(7.3574, 12.8766, 2.8566)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7316 #5C1673
analogous
#5C7316 #2D7316 #16732E
triadic
#2D7316 #162D73 #73162D
tetradic
#2D7316 #165C73 #5C1673 #732E16
square
#2D7316 #165C73 #5C1673 #732E16
split-complementary
#2D7316 #2E1673 #73165C
monochromatic
#0A1A05 #19400C #2D7316 #41A620 #57D72D

Accessibility & contrast

On white

5.87
#2D7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2D7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7316
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7316#FFFFFF#000000##FFFFFF
##2D73161.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#256F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7316;
/* rgb */ color: rgb(45, 115, 22);
/* oklch */ color: oklch(49.2% 0.143 139.4);
Tailwind
colors: {
  custom: {
    50: '#6f9c5b',
    500: '#2d7316',
    950: '#000000',
  },
}
SCSS
$custom: #2d7316;
$custom-light: #6f9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7316",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 105.161,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49197,
    "c": 0.14269,
    "h": 139.4
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

primary
#2D7316
secondary
#8E3CA9
accent
#3DEBC0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7316

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

Preview Lab → · Contrast checker → · Palette generator →

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