#1D7B2A#1D7B2A

#1D7B2A is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.145 H 145.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1D7B2A
RGBrgb(29, 123, 42)
HSLhsl(128, 62%, 30%)
HSVhsv(128, 76%, 48%)
CMYKcmyk(76.4%, 0%, 65.9%, 51.8%)
CIE-LABlab(45.07, -44.06, 35.72)
CIE-LCHlch(45.07, 56.71, 140.97°)
OKLaboklab(51.19% -0.119 0.0833)
OKLCHoklch(51.19% 0.145 145)
XYZxyz(8.0070, 14.5934, 4.5849)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7B2A #7B1D6E
analogous
#3F7B1D #1D7B2A #1D7B59
triadic
#1D7B2A #2A1D7B #7B2A1D
tetradic
#1D7B2A #1D3F7B #7B1D6E #7B591D
square
#1D7B2A #1D3F7B #7B1D6E #7B591D
split-complementary
#1D7B2A #591D7B #7B1D3F
monochromatic
#061908 #114919 #1D7B2A #29AD3B #40D255

Accessibility & contrast

On white

5.36
#1D7B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1D7B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7B2A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7B2A#FFFFFF#000000##FFFFFF
##1D7B2A1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F20
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1d7b2a;
/* rgb */ color: rgb(29, 123, 42);
/* oklch */ color: oklch(51.2% 0.145 145.0);
Tailwind
colors: {
  custom: {
    50: '#69a267',
    500: '#1d7b2a',
    950: '#000000',
  },
}
SCSS
$custom: #1d7b2a;
$custom-light: #69a267;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7b2a",
  "rgb": {
    "r": 29,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 128.298,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.14522,
    "h": 145
  },
  "luminance": 0.14594
}

Semantic roles & 50–950 ramp

primary
#1D7B2A
secondary
#AF45A0
accent
#43CFE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1D7B2A

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

Preview Lab → · Contrast checker → · Palette generator →

#1D7B2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva