#1C470C#1C470C

#1C470C is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.4% C 0.099 H 138.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#1C470C
RGBrgb(28, 71, 12)
HSLhsl(104, 71%, 16%)
HSVhsv(104, 83%, 28%)
CMYKcmyk(60.6%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.10, -27.06, 29.05)
CIE-LCHlch(26.10, 39.70, 132.97°)
OKLaboklab(35.39% -0.0746 0.0653)
OKLCHoklch(35.39% 0.099 138.8)
XYZxyz(2.7984, 4.7797, 1.1229)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C470C #370C47
analogous
#3A470C #1C470C #0C471A
triadic
#1C470C #0C1C47 #470C1C
tetradic
#1C470C #0C3A47 #370C47 #471A0C
square
#1C470C #0C3A47 #370C47 #471A0C
split-complementary
#1C470C #1A0C47 #470C3A
monochromatic
#0A1A04 #0A1A04 #1C470C #317B15 #45B01E

Accessibility & contrast

On white

10.74
#1C470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1C470C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C470C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C470C#FFFFFF#000000##FFFFFF
##1C470C1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494003
Deuteranopia (green-blind)
#443C12
Tritanopia (blue-blind)
#18443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1c470c;
/* rgb */ color: rgb(28, 71, 12);
/* oklch */ color: oklch(35.4% 0.099 138.8);
Tailwind
colors: {
  custom: {
    50: '#5e7b4f',
    500: '#1c470c',
    950: '#000000',
  },
}
SCSS
$custom: #1c470c;
$custom-light: #5e7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c470c",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 103.729,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35394,
    "c": 0.09914,
    "h": 138.8
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#1C470C
secondary
#6B2C83
accent
#3AEEBD
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1C470C

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

Preview Lab → · Contrast checker → · Palette generator →

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