#1E7B16#1E7B16

#1E7B16 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.158 H 142.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1E7B16
RGBrgb(30, 123, 22)
HSLhsl(115, 70%, 28%)
HSVhsv(115, 82%, 48%)
CMYKcmyk(75.6%, 0%, 82.1%, 51.8%)
CIE-LABlab(44.94, -45.74, 43.68)
CIE-LCHlch(44.94, 63.25, 136.32°)
OKLaboklab(51.04% -0.1246 0.0974)
OKLCHoklch(51.04% 0.158 142)
XYZxyz(7.7627, 14.4990, 3.1484)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7B16 #73167B
analogous
#507B16 #1E7B16 #167B40
triadic
#1E7B16 #161E7B #7B161E
tetradic
#1E7B16 #16507B #73167B #7B4016
square
#1E7B16 #16507B #73167B #7B4016
split-complementary
#1E7B16 #40167B #7B1650
monochromatic
#061A05 #11470D #1E7B16 #2BAF1F #3FDA31

Accessibility & contrast

On white

5.38
#1E7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1E7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7B16
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7B16#FFFFFF#000000##FFFFFF
##1E7B161.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1e7b16;
/* rgb */ color: rgb(30, 123, 22);
/* oklch */ color: oklch(51.0% 0.158 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ba25c',
    500: '#1e7b16',
    950: '#000000',
  },
}
SCSS
$custom: #1e7b16;
$custom-light: #6ba25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7b16",
  "rgb": {
    "r": 30,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 115.248,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.1581,
    "h": 142
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#1E7B16
secondary
#A73DB0
accent
#3BECDE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1E7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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