#1C401B#1C401B

#1C401B is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.075 H 143.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#1C401B
RGBrgb(28, 64, 27)
HSLhsl(118, 41%, 18%)
HSVhsv(118, 58%, 25%)
CMYKcmyk(56.2%, 0%, 57.8%, 74.9%)
CIE-LABlab(23.65, -22.00, 18.61)
CIE-LCHlch(23.65, 28.82, 139.76°)
OKLaboklab(33.43% -0.0599 0.0448)
OKLCHoklch(33.43% 0.075 143.2)
XYZxyz(2.5100, 3.9926, 1.6751)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C401B #3F1B40
analogous
#2E401B #1C401B #1B402C
triadic
#1C401B #1B1C40 #401B1C
tetradic
#1C401B #1B2E40 #3F1B40 #402C1B
square
#1C401B #1B2E40 #3F1B40 #402C1B
split-complementary
#1C401B #2C1B40 #401B2E
monochromatic
#091609 #091609 #1C401B #2F6B2D #42963F

Accessibility & contrast

On white

11.68
#1C401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1C401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C401B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C401B#FFFFFF#000000##FFFFFF
##1C401B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#3C371E
Tritanopia (blue-blind)
#173E37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c401b;
/* rgb */ color: rgb(28, 64, 27);
/* oklch */ color: oklch(33.4% 0.075 143.2);
Tailwind
colors: {
  custom: {
    50: '#5c7558',
    500: '#1c401b',
    950: '#000000',
  },
}
SCSS
$custom: #1c401b;
$custom-light: #5c7558;
$custom-dark: #000000;
JSON
{
  "hex": "#1c401b",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 118.378,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.33432,
    "c": 0.07479,
    "h": 143.2
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#1C401B
secondary
#744175
accent
#57D1CD
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #1C401B

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

Preview Lab → · Contrast checker → · Palette generator →

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