#1A3C04#1A3C04

#1A3C04 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 31.8% C 0.090 H 136.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1A3C04
RGBrgb(26, 60, 4)
HSLhsl(96, 88%, 13%)
HSVhsv(96, 93%, 24%)
CMYKcmyk(56.7%, 0%, 93.3%, 76.5%)
CIE-LABlab(21.80, -23.44, 27.95)
CIE-LCHlch(21.80, 36.47, 129.99°)
OKLaboklab(31.81% -0.0654 0.0624)
OKLCHoklch(31.81% 0.09 136.3)
XYZxyz(2.0637, 3.4600, 0.6739)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C04 #26043C
analogous
#363C04 #1A3C04 #043C0A
triadic
#1A3C04 #041A3C #3C041A
tetradic
#1A3C04 #04363C #26043C #3C0A04
square
#1A3C04 #04363C #26043C #3C0A04
split-complementary
#1A3C04 #0A043C #3C0436
monochromatic
#0C1D02 #0C1D02 #1A3C04 #337508 #4CAF0C

Accessibility & contrast

On white

12.41
#1A3C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A3C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C04
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C04#FFFFFF#000000##FFFFFF
##1A3C041.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3A330A
Tritanopia (blue-blind)
#183932
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a3c04;
/* rgb */ color: rgb(26, 60, 4);
/* oklch */ color: oklch(31.8% 0.090 136.3);
Tailwind
colors: {
  custom: {
    50: '#5b724a',
    500: '#1a3c04',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c04;
$custom-light: #5b724a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c04",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 4
  },
  "hsl": {
    "h": 96.429,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31809,
    "c": 0.09038,
    "h": 136.3
  },
  "luminance": 0.0346
}

Semantic roles & 50–950 ramp

primary
#1A3C04
secondary
#581E7E
accent
#2AFEAB
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1A3C04

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

Preview Lab → · Contrast checker → · Palette generator →

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