#1D7F12#1D7F12

#1D7F12 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.165 H 141.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1D7F12
RGBrgb(29, 127, 18)
HSLhsl(114, 75%, 28%)
HSVhsv(114, 86%, 50%)
CMYKcmyk(77.2%, 0%, 85.8%, 50.2%)
CIE-LABlab(46.29, -47.51, 46.14)
CIE-LCHlch(46.29, 66.22, 135.84°)
OKLaboklab(52.15% -0.1295 0.1019)
OKLCHoklch(52.15% 0.165 141.8)
XYZxyz(8.2048, 15.4827, 3.1282)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7F12 #74127F
analogous
#537F12 #1D7F12 #127F3D
triadic
#1D7F12 #121D7F #7F121D
tetradic
#1D7F12 #12537F #74127F #7F3D12
square
#1D7F12 #12537F #74127F #7F3D12
split-complementary
#1D7F12 #3D127F #7F1253
monochromatic
#061B04 #11490A #1D7F12 #29B51A #3DE12B

Accessibility & contrast

On white

5.13
#1D7F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1D7F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7F12
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7F12#FFFFFF#000000##FFFFFF
##1D7F121.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d7f12;
/* rgb */ color: rgb(29, 127, 18);
/* oklch */ color: oklch(52.1% 0.165 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ba55b',
    500: '#1d7f12',
    950: '#000000',
  },
}
SCSS
$custom: #1d7f12;
$custom-light: #6ba55b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7f12",
  "rgb": {
    "r": 29,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 113.945,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.16477,
    "h": 141.8
  },
  "luminance": 0.15484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D7F12

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

Preview Lab → · Contrast checker → · Palette generator →

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