#2D6519#2D6519

#2D6519 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.2% C 0.123 H 138.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2D6519
RGBrgb(45, 101, 25)
HSLhsl(104, 60%, 25%)
HSVhsv(104, 75%, 40%)
CMYKcmyk(55.4%, 0%, 75.2%, 60.4%)
CIE-LABlab(37.73, -33.48, 35.59)
CIE-LCHlch(37.73, 48.86, 133.25°)
OKLaboklab(45.2% -0.0922 0.0808)
OKLCHoklch(45.2% 0.123 138.8)
XYZxyz(5.9111, 9.9350, 2.5257)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6519 #511965
analogous
#536519 #2D6519 #19652B
triadic
#2D6519 #192D65 #65192D
tetradic
#2D6519 #195365 #511965 #652B19
square
#2D6519 #195365 #511965 #652B19
split-complementary
#2D6519 #2B1965 #651953
monochromatic
#0B1906 #17340D #2D6519 #439625 #59C731

Accessibility & contrast

On white

7.03
#2D6519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2D6519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6519
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6519#FFFFFF#000000##FFFFFF
##2D65191.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0D
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#286156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d6519;
/* rgb */ color: rgb(45, 101, 25);
/* oklch */ color: oklch(45.2% 0.123 138.8);
Tailwind
colors: {
  custom: {
    50: '#6c915b',
    500: '#2d6519',
    950: '#000000',
  },
}
SCSS
$custom: #2d6519;
$custom-light: #6c915b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6519",
  "rgb": {
    "r": 45,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 104.211,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.12261,
    "h": 138.8
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#2D6519
secondary
#833F9B
accent
#44E3BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6519

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

Preview Lab → · Contrast checker → · Palette generator →

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