#1C511B#1C511B

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

Color values

HEX#1C511B
RGBrgb(28, 81, 27)
HSLhsl(119, 50%, 21%)
HSVhsv(119, 67%, 32%)
CMYKcmyk(65.4%, 0%, 66.7%, 68.2%)
CIE-LABlab(29.94, -29.80, 26.04)
CIE-LCHlch(29.94, 39.57, 138.85°)
OKLaboklab(38.61% -0.081 0.061)
OKLCHoklch(38.61% 0.101 143)
XYZxyz(3.6189, 6.2105, 2.0447)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C511B #501B51
analogous
#37511B #1C511B #1B5135
triadic
#1C511B #1B1C51 #511B1C
tetradic
#1C511B #1B3751 #501B51 #51351B
square
#1C511B #1B3751 #501B51 #51351B
split-complementary
#1C511B #351B51 #511B37
monochromatic
#081708 #0C230C #1C511B #2C7F2A #3CAD3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C511B#FFFFFF#000000##FFFFFF
##1C511B1.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)
#534915
Deuteranopia (green-blind)
#4C451F
Tritanopia (blue-blind)
#134F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1c511b;
/* rgb */ color: rgb(28, 81, 27);
/* oklch */ color: oklch(38.6% 0.101 143.0);
Tailwind
colors: {
  custom: {
    50: '#5f825a',
    500: '#1c511b',
    950: '#000000',
  },
}
SCSS
$custom: #1c511b;
$custom-light: #5f825a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c511b",
  "rgb": {
    "r": 28,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 118.889,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38606,
    "c": 0.10142,
    "h": 143
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#1C511B
secondary
#864187
accent
#4EDAD7
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1C511B

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

Preview Lab → · Contrast checker → · Palette generator →

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