#1E7215#1E7215

#1E7215 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.148 H 141.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1E7215
RGBrgb(30, 114, 21)
HSLhsl(114, 69%, 26%)
HSVhsv(114, 82%, 45%)
CMYKcmyk(73.7%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.79, -42.67, 41.00)
CIE-LCHlch(41.79, 59.18, 136.14°)
OKLaboklab(48.42% -0.1163 0.0916)
OKLCHoklch(48.42% 0.148 141.8)
XYZxyz(6.6877, 12.3641, 2.7434)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7215 #691572
analogous
#4D7215 #1E7215 #15723B
triadic
#1E7215 #151E72 #72151E
tetradic
#1E7215 #154D72 #691572 #723B15
square
#1E7215 #154D72 #691572 #723B15
split-complementary
#1E7215 #3B1572 #72154D
monochromatic
#071A05 #103E0B #1E7215 #2CA61F #3BD82A

Accessibility & contrast

On white

6.05
#1E7215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1E7215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7215
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7215#FFFFFF#000000##FFFFFF
##1E72151.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#076E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1e7215;
/* rgb */ color: rgb(30, 114, 21);
/* oklch */ color: oklch(48.4% 0.148 141.8);
Tailwind
colors: {
  custom: {
    50: '#689b5b',
    500: '#1e7215',
    950: '#000000',
  },
}
SCSS
$custom: #1e7215;
$custom-light: #689b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7215",
  "rgb": {
    "r": 30,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 114.194,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48419,
    "c": 0.14807,
    "h": 141.8
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#1E7215
secondary
#9E3BA8
accent
#3CECDB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1E7215

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

Preview Lab → · Contrast checker → · Palette generator →

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