#2D6315#2D6315

#2D6315 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.6% C 0.123 H 138.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2D6315
RGBrgb(45, 99, 21)
HSLhsl(102, 65%, 24%)
HSVhsv(102, 79%, 39%)
CMYKcmyk(54.5%, 0%, 78.8%, 61.2%)
CIE-LABlab(37.00, -32.95, 36.48)
CIE-LCHlch(37.00, 49.16, 132.09°)
OKLaboklab(44.59% -0.0911 0.082)
OKLCHoklch(44.59% 0.123 138)
XYZxyz(5.6792, 9.5353, 2.2506)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6315 #4B1563
analogous
#546315 #2D6315 #156324
triadic
#2D6315 #152D63 #63152D
tetradic
#2D6315 #155463 #4B1563 #632415
square
#2D6315 #155463 #4B1563 #632415
split-complementary
#2D6315 #241563 #631554
monochromatic
#0B1905 #16310A #2D6315 #449520 #5BC82A

Accessibility & contrast

On white

7.22
#2D6315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2D6315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6315
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6315#FFFFFF#000000##FFFFFF
##2D63151.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A06
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#295F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d6315;
/* rgb */ color: rgb(45, 99, 21);
/* oklch */ color: oklch(44.6% 0.123 138.0);
Tailwind
colors: {
  custom: {
    50: '#6c9058',
    500: '#2d6315',
    950: '#000000',
  },
}
SCSS
$custom: #2d6315;
$custom-light: #6c9058;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6315",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 101.538,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4459,
    "c": 0.1226,
    "h": 138
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#2D6315
secondary
#7C3A9A
accent
#40E8B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6315

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

Preview Lab → · Contrast checker → · Palette generator →

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