#1C2012#1C2012

#1C2012 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.5% C 0.026 H 121.4°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#1C2012
RGBrgb(28, 32, 18)
HSLhsl(77, 28%, 10%)
HSVhsv(77, 44%, 13%)
CMYKcmyk(12.5%, 0%, 43.8%, 87.5%)
CIE-LABlab(11.44, -5.02, 8.72)
CIE-LCHlch(11.44, 10.06, 119.93°)
OKLaboklab(23.48% -0.0136 0.0222)
OKLCHoklch(23.48% 0.026 121.4)
XYZxyz(1.1046, 1.3236, 0.7694)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2012 #161220
analogous
#201D12 #1C2012 #152012
triadic
#1C2012 #121C20 #20121C
tetradic
#1C2012 #12201D #161220 #201215
square
#1C2012 #12201D #161220 #201215
split-complementary
#1C2012 #121520 #1D1220
monochromatic
#11140B #11140B #1C2012 #3E4728 #616E3E

Accessibility & contrast

On white

16.60
#1C2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1C2012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2012
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2012#FFFFFF#000000##FFFFFF
##1C20121.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E11
Deuteranopia (green-blind)
#211E13
Tritanopia (blue-blind)
#1D1F1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1c2012;
/* rgb */ color: rgb(28, 32, 18);
/* oklch */ color: oklch(23.5% 0.026 121.4);
Tailwind
colors: {
  custom: {
    50: '#585b50',
    500: '#1c2012',
    950: '#000000',
  },
}
SCSS
$custom: #1c2012;
$custom-light: #585b50;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2012",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 77.143,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.23477,
    "c": 0.02604,
    "h": 121.4
  },
  "luminance": 0.01324
}

Semantic roles & 50–950 ramp

primary
#1C2012
secondary
#413955
accent
#63C47F
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#030402
muted
#787978

Preview Lab

Preview with #1C2012

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

Preview Lab → · Contrast checker → · Palette generator →

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