#1C511C#1C511C

#1C511C is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.100 H 143.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#1C511C
RGBrgb(28, 81, 28)
HSLhsl(120, 49%, 21%)
HSVhsv(120, 65%, 32%)
CMYKcmyk(65.4%, 0%, 65.4%, 68.2%)
CIE-LABlab(29.95, -29.66, 25.53)
CIE-LCHlch(29.95, 39.14, 139.28°)
OKLaboklab(38.62% -0.0806 0.06)
OKLCHoklch(38.62% 0.1 143.3)
XYZxyz(3.6307, 6.2152, 2.1067)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C511C #511C51
analogous
#37511C #1C511C #1C5137
triadic
#1C511C #1C1C51 #511C1C
tetradic
#1C511C #1C3751 #511C51 #51371C
square
#1C511C #1C3751 #511C51 #51371C
split-complementary
#1C511C #371C51 #511C37
monochromatic
#081708 #0C240C #1C511C #2C7E2C #3BAC3B

Accessibility & contrast

On white

9.36
#1C511C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1C511C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C511C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C511C#FFFFFF#000000##FFFFFF
##1C511C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534916
Deuteranopia (green-blind)
#4C4520
Tritanopia (blue-blind)
#124F46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1c511c;
/* rgb */ color: rgb(28, 81, 28);
/* oklch */ color: oklch(38.6% 0.100 143.3);
Tailwind
colors: {
  custom: {
    50: '#5f825a',
    500: '#1c511c',
    950: '#000000',
  },
}
SCSS
$custom: #1c511c;
$custom-light: #5f825a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c511c",
  "rgb": {
    "r": 28,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 120,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3862,
    "c": 0.10048,
    "h": 143.3
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#1C511C
secondary
#874287
accent
#50D8D8
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1C511C

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

Preview Lab → · Contrast checker → · Palette generator →

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