#2D7618#2D7618

#2D7618 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.145 H 139.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2D7618
RGBrgb(45, 118, 24)
HSLhsl(107, 66%, 28%)
HSVhsv(107, 80%, 46%)
CMYKcmyk(61.9%, 0%, 79.7%, 53.7%)
CIE-LABlab(43.62, -40.42, 41.87)
CIE-LCHlch(43.62, 58.20, 133.99°)
OKLaboklab(50.07% -0.111 0.0937)
OKLCHoklch(50.07% 0.145 139.8)
XYZxyz(7.7251, 13.5800, 3.0781)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7618 #611876
analogous
#5C7618 #2D7618 #187632
triadic
#2D7618 #182D76 #76182D
tetradic
#2D7618 #185C76 #611876 #763218
square
#2D7618 #185C76 #611876 #763218
split-complementary
#2D7618 #321876 #76185C
monochromatic
#0A1905 #1A430E #2D7618 #40A922 #57D533

Accessibility & contrast

On white

5.65
#2D7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2D7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7618
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7618#FFFFFF#000000##FFFFFF
##2D76181.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B03
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#247264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d7618;
/* rgb */ color: rgb(45, 118, 24);
/* oklch */ color: oklch(50.1% 0.145 139.8);
Tailwind
colors: {
  custom: {
    50: '#709e5d',
    500: '#2d7618',
    950: '#000000',
  },
}
SCSS
$custom: #2d7618;
$custom-light: #709e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7618",
  "rgb": {
    "r": 45,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 106.596,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.14532,
    "h": 139.8
  },
  "luminance": 0.13581
}

Semantic roles & 50–950 ramp

primary
#2D7618
secondary
#933FAB
accent
#3FE9C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7618

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

Preview Lab → · Contrast checker → · Palette generator →

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