#1E7D1C#1E7D1C

#1E7D1C is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.157 H 142.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1E7D1C
RGBrgb(30, 125, 28)
HSLhsl(119, 63%, 30%)
HSVhsv(119, 78%, 49%)
CMYKcmyk(76%, 0%, 77.6%, 51%)
CIE-LABlab(45.67, -45.99, 42.30)
CIE-LCHlch(45.67, 62.48, 137.39°)
OKLaboklab(51.66% -0.1249 0.0953)
OKLCHoklch(51.66% 0.157 142.7)
XYZxyz(8.0781, 15.0262, 3.5730)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7D1C #7B1C7D
analogous
#4E7D1C #1E7D1C #1C7D4B
triadic
#1E7D1C #1C1E7D #7D1C1E
tetradic
#1E7D1C #1C4E7D #7B1C7D #7D4B1C
square
#1E7D1C #1C4E7D #7B1C7D #7D4B1C
split-complementary
#1E7D1C #4B1C7D #7D1C4E
monochromatic
#061906 #124B11 #1E7D1C #2AAF27 #42D43F

Accessibility & contrast

On white

5.24
#1E7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1E7D1C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7D1C#FFFFFF#000000##FFFFFF
##1E7D1C1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807108
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7d1c;
/* rgb */ color: rgb(30, 125, 28);
/* oklch */ color: oklch(51.7% 0.157 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ba45f',
    500: '#1e7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #1e7d1c;
$custom-light: #6ba45f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7d1c",
  "rgb": {
    "r": 30,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 118.763,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51656,
    "c": 0.15715,
    "h": 142.7
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#1E7D1C
secondary
#AE44B1
accent
#41E6E3
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1E7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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