#1E841C#1E841C

#1E841C is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.165 H 142.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1E841C
RGBrgb(30, 132, 28)
HSLhsl(119, 65%, 31%)
HSVhsv(119, 79%, 52%)
CMYKcmyk(77.3%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.08, -48.37, 44.68)
CIE-LCHlch(48.08, 65.85, 137.27°)
OKLaboklab(53.66% -0.1314 0.1003)
OKLCHoklch(53.66% 0.165 142.6)
XYZxyz(8.9957, 16.8614, 3.8789)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E841C #821C84
analogous
#52841C #1E841C #1C844E
triadic
#1E841C #1C1E84 #841C1E
tetradic
#1E841C #1C5284 #821C84 #844E1C
square
#1E841C #1C5284 #821C84 #844E1C
split-complementary
#1E841C #4E1C84 #841C52
monochromatic
#071F07 #135211 #1E841C #29B627 #46D743

Accessibility & contrast

On white

4.80
#1E841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#1E841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E841C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E841C#FFFFFF#000000##FFFFFF
##1E841C1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1e841c;
/* rgb */ color: rgb(30, 132, 28);
/* oklch */ color: oklch(53.7% 0.165 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da960',
    500: '#1e841c',
    950: '#000000',
  },
}
SCSS
$custom: #1e841c;
$custom-light: #6da960;
$custom-dark: #000000;
JSON
{
  "hex": "#1e841c",
  "rgb": {
    "r": 30,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 118.846,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53662,
    "c": 0.16531,
    "h": 142.6
  },
  "luminance": 0.16862
}

Semantic roles & 50–950 ramp

primary
#1E841C
secondary
#B545B7
accent
#40E8E5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1E841C

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

Preview Lab → · Contrast checker → · Palette generator →

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