#1C310A#1C310A

#1C310A is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.5% C 0.067 H 133.4°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#1C310A
RGBrgb(28, 49, 10)
HSLhsl(92, 66%, 12%)
HSVhsv(92, 80%, 19%)
CMYKcmyk(42.9%, 0%, 79.6%, 80.8%)
CIE-LABlab(17.76, -16.53, 20.94)
CIE-LCHlch(17.76, 26.68, 128.29°)
OKLaboklab(28.55% -0.0463 0.049)
OKLCHoklch(28.55% 0.067 133.4)
XYZxyz(1.6320, 2.4653, 0.6770)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C310A #1F0A31
analogous
#30310A #1C310A #0A310C
triadic
#1C310A #0A1C31 #310A1C
tetradic
#1C310A #0A3031 #1F0A31 #310C0A
square
#1C310A #0A3031 #1F0A31 #310C0A
split-complementary
#1C310A #0C0A31 #310A30
monochromatic
#0F1905 #0F1905 #1C310A #396414 #56971F

Accessibility & contrast

On white

14.07
#1C310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1C310A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C310A
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C310A#FFFFFF#000000##FFFFFF
##1C310A1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D06
Deuteranopia (green-blind)
#302B0D
Tritanopia (blue-blind)
#1C2F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c310a;
/* rgb */ color: rgb(28, 49, 10);
/* oklch */ color: oklch(28.5% 0.067 133.4);
Tailwind
colors: {
  custom: {
    50: '#5a694c',
    500: '#1c310a',
    950: '#000000',
  },
}
SCSS
$custom: #1c310a;
$custom-light: #5a694c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c310a",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 92.308,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28546,
    "c": 0.0674,
    "h": 133.4
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#1C310A
secondary
#4E296E
accent
#3FE99A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1C310A

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

Preview Lab → · Contrast checker → · Palette generator →

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