#1C310E#1C310E

#1C310E is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.6% C 0.063 H 134.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#1C310E
RGBrgb(28, 49, 14)
HSLhsl(96, 56%, 12%)
HSVhsv(96, 71%, 19%)
CMYKcmyk(42.9%, 0%, 71.4%, 80.8%)
CIE-LABlab(17.81, -16.08, 19.17)
CIE-LCHlch(17.81, 25.02, 129.99°)
OKLaboklab(28.6% -0.0446 0.0451)
OKLCHoklch(28.6% 0.063 134.7)
XYZxyz(1.6564, 2.4751, 0.8059)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C310E #230E31
analogous
#2E310E #1C310E #0E3111
triadic
#1C310E #0E1C31 #310E1C
tetradic
#1C310E #0E2E31 #230E31 #31110E
square
#1C310E #0E2E31 #230E31 #31110E
split-complementary
#1C310E #110E31 #310E2E
monochromatic
#0E1807 #0E1807 #1C310E #37611C #529029

Accessibility & contrast

On white

14.05
#1C310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1C310E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C310E
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C310E#FFFFFF#000000##FFFFFF
##1C310E1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0A
Deuteranopia (green-blind)
#302B11
Tritanopia (blue-blind)
#1C2F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c310e;
/* rgb */ color: rgb(28, 49, 14);
/* oklch */ color: oklch(28.6% 0.063 134.7);
Tailwind
colors: {
  custom: {
    50: '#5a694e',
    500: '#1c310e',
    950: '#000000',
  },
}
SCSS
$custom: #1c310e;
$custom-light: #5a694e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c310e",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 96,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28597,
    "c": 0.06346,
    "h": 134.7
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#1C310E
secondary
#532F6C
accent
#49DFA3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1C310E

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

Preview Lab → · Contrast checker → · Palette generator →

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