#1C3F04#1C3F04

#1C3F04 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 32.9% C 0.093 H 136.1°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#1C3F04
RGBrgb(28, 63, 4)
HSLhsl(96, 88%, 13%)
HSVhsv(96, 94%, 25%)
CMYKcmyk(55.6%, 0%, 93.7%, 75.3%)
CIE-LABlab(23.03, -24.09, 29.27)
CIE-LCHlch(23.03, 37.91, 129.46°)
OKLaboklab(32.85% -0.0673 0.0648)
OKLCHoklch(32.85% 0.093 136.1)
XYZxyz(2.2782, 3.8105, 0.7303)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F04 #27043F
analogous
#393F04 #1C3F04 #043F09
triadic
#1C3F04 #041C3F #3F041C
tetradic
#1C3F04 #04393F #27043F #3F0904
square
#1C3F04 #04393F #27043F #3F0904
split-complementary
#1C3F04 #09043F #3F0439
monochromatic
#0D1D02 #0D1D02 #1C3F04 #367908 #4FB20B

Accessibility & contrast

On white

11.92
#1C3F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1C3F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F04
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F04#FFFFFF#000000##FFFFFF
##1C3F041.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#1A3C34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c3f04;
/* rgb */ color: rgb(28, 63, 4);
/* oklch */ color: oklch(32.9% 0.093 136.1);
Tailwind
colors: {
  custom: {
    50: '#5d744a',
    500: '#1c3f04',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f04;
$custom-light: #5d744a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f04",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 95.593,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32853,
    "c": 0.09338,
    "h": 136.1
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#1C3F04
secondary
#591E80
accent
#2AFEA8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1C3F04

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

Preview Lab → · Contrast checker → · Palette generator →

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