#1D7D25#1D7D25

#1D7D25 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.152 H 144.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1D7D25
RGBrgb(29, 125, 37)
HSLhsl(125, 62%, 30%)
HSVhsv(125, 77%, 49%)
CMYKcmyk(76.8%, 0%, 70.4%, 51%)
CIE-LABlab(45.72, -45.33, 38.69)
CIE-LCHlch(45.72, 59.60, 139.51°)
OKLaboklab(51.71% -0.1226 0.089)
OKLCHoklch(51.71% 0.152 144)
XYZxyz(8.1737, 15.0611, 4.2262)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D25 #7D1D75
analogous
#457D1D #1D7D25 #1D7D55
triadic
#1D7D25 #251D7D #7D251D
tetradic
#1D7D25 #1D457D #7D1D75 #7D551D
square
#1D7D25 #1D457D #7D1D75 #7D551D
split-complementary
#1D7D25 #551D7D #7D1D45
monochromatic
#061A08 #114B16 #1D7D25 #29AF34 #41D34E

Accessibility & contrast

On white

5.23
#1D7D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1D7D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7D25
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7D25#FFFFFF#000000##FFFFFF
##1D7D251.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7119
Deuteranopia (green-blind)
#75692D
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7d25;
/* rgb */ color: rgb(29, 125, 37);
/* oklch */ color: oklch(51.7% 0.152 144.0);
Tailwind
colors: {
  custom: {
    50: '#6aa464',
    500: '#1d7d25',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d25;
$custom-light: #6aa464;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d25",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.15154,
    "h": 144
  },
  "luminance": 0.15062
}

Semantic roles & 50–950 ramp

primary
#1D7D25
secondary
#B145A8
accent
#42D8E5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1D7D25

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

Preview Lab → · Contrast checker → · Palette generator →

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