#1D7E12#1D7E12

#1D7E12 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.164 H 141.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1D7E12
RGBrgb(29, 126, 18)
HSLhsl(114, 75%, 28%)
HSVhsv(114, 86%, 49%)
CMYKcmyk(77%, 0%, 85.7%, 50.6%)
CIE-LABlab(45.94, -47.17, 45.82)
CIE-LCHlch(45.94, 65.76, 135.83°)
OKLaboklab(51.86% -0.1286 0.1013)
OKLCHoklch(51.86% 0.164 141.8)
XYZxyz(8.0763, 15.2257, 3.0854)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7E12 #73127E
analogous
#537E12 #1D7E12 #127E3D
triadic
#1D7E12 #121D7E #7E121D
tetradic
#1D7E12 #12537E #73127E #7E3D12
square
#1D7E12 #12537E #73127E #7E3D12
split-complementary
#1D7E12 #3D127E #7E1253
monochromatic
#061B04 #11480A #1D7E12 #29B41A #3CE12A

Accessibility & contrast

On white

5.19
#1D7E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1D7E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7E12
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7E12#FFFFFF#000000##FFFFFF
##1D7E121.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d7e12;
/* rgb */ color: rgb(29, 126, 18);
/* oklch */ color: oklch(51.9% 0.164 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ba45b',
    500: '#1d7e12',
    950: '#000000',
  },
}
SCSS
$custom: #1d7e12;
$custom-light: #6ba45b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7e12",
  "rgb": {
    "r": 29,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 113.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.16365,
    "h": 141.8
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#1D7E12
secondary
#A738B4
accent
#36F2DF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #1D7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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