#1C7B2D#1C7B2D

#1C7B2D is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.143 H 145.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1C7B2D
RGBrgb(28, 123, 45)
HSLhsl(131, 63%, 30%)
HSVhsv(131, 77%, 48%)
CMYKcmyk(77.2%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.08, -43.85, 34.29)
CIE-LCHlch(45.08, 55.66, 141.98°)
OKLaboklab(51.2% -0.1182 0.0805)
OKLCHoklch(51.2% 0.143 145.7)
XYZxyz(8.0349, 14.6013, 4.8770)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7B2D #7B1C6A
analogous
#3B7B1C #1C7B2D #1C7B5D
triadic
#1C7B2D #2D1C7B #7B2D1C
tetradic
#1C7B2D #1C3B7B #7B1C6A #7B5D1C
square
#1C7B2D #1C3B7B #7B1C6A #7B5D1C
split-complementary
#1C7B2D #5D1C7B #7B1C3B
monochromatic
#061909 #11491B #1C7B2D #27AD3F #3ED359

Accessibility & contrast

On white

5.36
#1C7B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1C7B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7B2D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7B2D#FFFFFF#000000##FFFFFF
##1C7B2D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F24
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1c7b2d;
/* rgb */ color: rgb(28, 123, 45);
/* oklch */ color: oklch(51.2% 0.143 145.7);
Tailwind
colors: {
  custom: {
    50: '#69a269',
    500: '#1c7b2d',
    950: '#000000',
  },
}
SCSS
$custom: #1c7b2d;
$custom-light: #69a269;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7b2d",
  "rgb": {
    "r": 28,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 130.737,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.14306,
    "h": 145.7
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

primary
#1C7B2D
secondary
#AF449C
accent
#42C9E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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