#1C3104#1C3104

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

Color values

HEX#1C3104
RGBrgb(28, 49, 4)
HSLhsl(88, 85%, 10%)
HSVhsv(88, 92%, 19%)
CMYKcmyk(42.9%, 0%, 91.8%, 80.8%)
CIE-LABlab(17.70, -17.14, 23.31)
CIE-LCHlch(17.70, 28.94, 126.33°)
OKLaboklab(28.48% -0.0486 0.0546)
OKLCHoklch(28.48% 0.073 131.7)
XYZxyz(1.5991, 2.4522, 0.5039)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3104 #190431
analogous
#312F04 #1C3104 #053104
triadic
#1C3104 #041C31 #31041C
tetradic
#1C3104 #04312F #190431 #310405
square
#1C3104 #04312F #190431 #310405
split-complementary
#1C3104 #040531 #2F0431
monochromatic
#101C02 #101C02 #1C3104 #3C6A09 #5DA20D

Accessibility & contrast

On white

14.09
#1C3104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C3104
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3104#FFFFFF#000000##FFFFFF
##1C31041.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342C00
Deuteranopia (green-blind)
#312B08
Tritanopia (blue-blind)
#1D2E28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c3104;
/* rgb */ color: rgb(28, 49, 4);
/* oklch */ color: oklch(28.5% 0.073 131.7);
Tailwind
colors: {
  custom: {
    50: '#5a6949',
    500: '#1c3104',
    950: '#000000',
  },
}
SCSS
$custom: #1c3104;
$custom-light: #5a6949;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3104",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 88,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28478,
    "c": 0.07314,
    "h": 131.7
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#1C3104
secondary
#461D73
accent
#2DFB8D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1C3104

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

Preview Lab → · Contrast checker → · Palette generator →

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