#1C7939#1C7939

#1C7939 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.130 H 149.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1C7939
RGBrgb(28, 121, 57)
HSLhsl(139, 62%, 29%)
HSVhsv(139, 77%, 47%)
CMYKcmyk(76.9%, 0%, 52.9%, 52.5%)
CIE-LABlab(44.54, -41.34, 27.48)
CIE-LCHlch(44.54, 49.64, 146.38°)
OKLaboklab(50.8% -0.1112 0.0665)
OKLCHoklch(50.8% 0.13 149.1)
XYZxyz(8.0541, 14.2161, 6.1896)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7939 #791C5C
analogous
#2E791C #1C7939 #1C7968
triadic
#1C7939 #391C79 #79391C
tetradic
#1C7939 #1C2E79 #791C5C #79681C
square
#1C7939 #1C2E79 #791C5C #79681C
split-complementary
#1C7939 #681C79 #791C2E
monochromatic
#06190C #104722 #1C7939 #28AB50 #3DD26C

Accessibility & contrast

On white

5.46
#1C7939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#1C7939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7939
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7939#FFFFFF#000000##FFFFFF
##1C79391.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E34
Deuteranopia (green-blind)
#6F663E
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1c7939;
/* rgb */ color: rgb(28, 121, 57);
/* oklch */ color: oklch(50.8% 0.130 149.1);
Tailwind
colors: {
  custom: {
    50: '#68a171',
    500: '#1c7939',
    950: '#000000',
  },
}
SCSS
$custom: #1c7939;
$custom-light: #68a171;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7939",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 138.71,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.12955,
    "h": 149.1
  },
  "luminance": 0.14217
}

Semantic roles & 50–950 ramp

primary
#1C7939
secondary
#AD448C
accent
#42B3E5
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1C7939

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

Preview Lab → · Contrast checker → · Palette generator →

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