#1C3D07#1C3D07

#1C3D07 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.3% C 0.088 H 136.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1C3D07
RGBrgb(28, 61, 7)
HSLhsl(97, 79%, 13%)
HSVhsv(97, 89%, 24%)
CMYKcmyk(54.1%, 0%, 88.5%, 76.1%)
CIE-LABlab(22.30, -22.90, 27.28)
CIE-LCHlch(22.30, 35.62, 130.01°)
OKLaboklab(32.26% -0.0638 0.0611)
OKLCHoklch(32.26% 0.088 136.2)
XYZxyz(2.1859, 3.5996, 0.7806)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3D07 #28073D
analogous
#373D07 #1C3D07 #073D0D
triadic
#1C3D07 #071C3D #3D071C
tetradic
#1C3D07 #07373D #28073D #3D0D07
square
#1C3D07 #07373D #28073D #3D0D07
split-complementary
#1C3D07 #0D073D #3D0737
monochromatic
#0D1B03 #0D1B03 #1C3D07 #35740D #4EAB14

Accessibility & contrast

On white

12.21
#1C3D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1C3D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3D07
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3D07#FFFFFF#000000##FFFFFF
##1C3D071.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3B340D
Tritanopia (blue-blind)
#1A3A33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c3d07;
/* rgb */ color: rgb(28, 61, 7);
/* oklch */ color: oklch(32.3% 0.088 136.2);
Tailwind
colors: {
  custom: {
    50: '#5c734b',
    500: '#1c3d07',
    950: '#000000',
  },
}
SCSS
$custom: #1c3d07;
$custom-light: #5c734b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3d07",
  "rgb": {
    "r": 28,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 96.667,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32256,
    "c": 0.08832,
    "h": 136.2
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#1C3D07
secondary
#5A237C
accent
#32F6AA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1C3D07

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

Preview Lab → · Contrast checker → · Palette generator →

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