#1C511A#1C511A

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

Color values

HEX#1C511A
RGBrgb(28, 81, 26)
HSLhsl(118, 51%, 21%)
HSVhsv(118, 68%, 32%)
CMYKcmyk(65.4%, 0%, 67.9%, 68.2%)
CIE-LABlab(29.93, -29.92, 26.55)
CIE-LCHlch(29.93, 40.00, 138.42°)
OKLaboklab(38.59% -0.0814 0.062)
OKLCHoklch(38.59% 0.102 142.7)
XYZxyz(3.6076, 6.2060, 1.9848)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C511A #4F1A51
analogous
#37511A #1C511A #1A5133
triadic
#1C511A #1A1C51 #511A1C
tetradic
#1C511A #1A3751 #4F1A51 #51331A
square
#1C511A #1A3751 #4F1A51 #51331A
split-complementary
#1C511A #331A51 #511A37
monochromatic
#081707 #0C230B #1C511A #2C7F29 #3CAE38

Accessibility & contrast

On white

9.37
#1C511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C511A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C511A#FFFFFF#000000##FFFFFF
##1C511A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534914
Deuteranopia (green-blind)
#4C451F
Tritanopia (blue-blind)
#134F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1c511a;
/* rgb */ color: rgb(28, 81, 26);
/* oklch */ color: oklch(38.6% 0.102 142.7);
Tailwind
colors: {
  custom: {
    50: '#5f8259',
    500: '#1c511a',
    950: '#000000',
  },
}
SCSS
$custom: #1c511a;
$custom-light: #5f8259;
$custom-dark: #000000;
JSON
{
  "hex": "#1c511a",
  "rgb": {
    "r": 28,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 117.818,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38593,
    "c": 0.10232,
    "h": 142.7
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#1C511A
secondary
#854087
accent
#4DDBD6
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1C511A

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

Preview Lab → · Contrast checker → · Palette generator →

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