#1E7D23#1E7D23

#1E7D23 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.153 H 143.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1E7D23
RGBrgb(30, 125, 35)
HSLhsl(123, 61%, 30%)
HSVhsv(123, 76%, 49%)
CMYKcmyk(76%, 0%, 72%, 51%)
CIE-LABlab(45.72, -45.36, 39.56)
CIE-LCHlch(45.72, 60.19, 138.90°)
OKLaboklab(51.72% -0.1229 0.0906)
OKLCHoklch(51.72% 0.153 143.6)
XYZxyz(8.1719, 15.0637, 4.0667)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7D23 #7D1E78
analogous
#487D1E #1E7D23 #1E7D52
triadic
#1E7D23 #231E7D #7D231E
tetradic
#1E7D23 #1E487D #7D1E78 #7D521E
square
#1E7D23 #1E487D #7D1E78 #7D521E
split-complementary
#1E7D23 #521E7D #7D1E48
monochromatic
#061A07 #124C15 #1E7D23 #2AAE31 #43D24B

Accessibility & contrast

On white

5.23
#1E7D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1E7D23
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7D23#FFFFFF#000000##FFFFFF
##1E7D231.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807116
Deuteranopia (green-blind)
#75692C
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7d23;
/* rgb */ color: rgb(30, 125, 35);
/* oklch */ color: oklch(51.7% 0.153 143.6);
Tailwind
colors: {
  custom: {
    50: '#6aa463',
    500: '#1e7d23',
    950: '#000000',
  },
}
SCSS
$custom: #1e7d23;
$custom-light: #6aa463;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7d23",
  "rgb": {
    "r": 30,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 123.158,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.15266,
    "h": 143.6
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#1E7D23
secondary
#B046AB
accent
#43DCE4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #1E7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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