#2D7718#2D7718

#2D7718 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.147 H 139.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2D7718
RGBrgb(45, 119, 24)
HSLhsl(107, 66%, 28%)
HSVhsv(107, 80%, 47%)
CMYKcmyk(62.2%, 0%, 79.8%, 53.3%)
CIE-LABlab(43.97, -40.80, 42.21)
CIE-LCHlch(43.97, 58.71, 134.03°)
OKLaboklab(50.35% -0.1121 0.0944)
OKLCHoklch(50.35% 0.147 139.9)
XYZxyz(7.8435, 13.8168, 3.1175)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7718 #621877
analogous
#5C7718 #2D7718 #187732
triadic
#2D7718 #182D77 #77182D
tetradic
#2D7718 #185C77 #621877 #773218
square
#2D7718 #185C77 #621877 #773218
split-complementary
#2D7718 #321877 #77185C
monochromatic
#0A1905 #1A440E #2D7718 #40AA22 #57D633

Accessibility & contrast

On white

5.58
#2D7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2D7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7718
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7718#FFFFFF#000000##FFFFFF
##2D77181.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C02
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#237365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d7718;
/* rgb */ color: rgb(45, 119, 24);
/* oklch */ color: oklch(50.4% 0.147 139.9);
Tailwind
colors: {
  custom: {
    50: '#709f5d',
    500: '#2d7718',
    950: '#000000',
  },
}
SCSS
$custom: #2d7718;
$custom-light: #709f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7718",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 106.737,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.14656,
    "h": 139.9
  },
  "luminance": 0.13817
}

Semantic roles & 50–950 ramp

primary
#2D7718
secondary
#943FAC
accent
#3EE9C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7718

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

Preview Lab → · Contrast checker → · Palette generator →

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