#1E7D20#1E7D20

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

Color values

HEX#1E7D20
RGBrgb(30, 125, 32)
HSLhsl(121, 61%, 30%)
HSVhsv(121, 76%, 49%)
CMYKcmyk(76%, 0%, 74.4%, 51%)
CIE-LABlab(45.70, -45.64, 40.78)
CIE-LCHlch(45.70, 61.20, 138.22°)
OKLaboklab(51.69% -0.1238 0.0927)
OKLCHoklch(51.69% 0.155 143.2)
XYZxyz(8.1292, 15.0466, 3.8421)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7D20 #7D1E7B
analogous
#4B7D1E #1E7D20 #1E7D4F
triadic
#1E7D20 #201E7D #7D201E
tetradic
#1E7D20 #1E4B7D #7D1E7B #7D4F1E
square
#1E7D20 #1E4B7D #7D1E7B #7D4F1E
split-complementary
#1E7D20 #4F1E7D #7D1E4B
monochromatic
#061A07 #124C13 #1E7D20 #2AAE2D #43D246

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E7D20#FFFFFF#000000##FFFFFF
##1E7D201.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)
#807110
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7d20;
/* rgb */ color: rgb(30, 125, 32);
/* oklch */ color: oklch(51.7% 0.155 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ba462',
    500: '#1e7d20',
    950: '#000000',
  },
}
SCSS
$custom: #1e7d20;
$custom-light: #6ba462;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7d20",
  "rgb": {
    "r": 30,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 121.263,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.15467,
    "h": 143.2
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#1E7D20
secondary
#B046AE
accent
#43E1E4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #1E7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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