#1A3F04#1A3F04

#1A3F04 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 32.8% C 0.095 H 136.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#1A3F04
RGBrgb(26, 63, 4)
HSLhsl(98, 88%, 13%)
HSVhsv(98, 94%, 25%)
CMYKcmyk(58.7%, 0%, 93.7%, 75.3%)
CIE-LABlab(22.94, -24.81, 29.14)
CIE-LCHlch(22.94, 38.27, 130.41°)
OKLaboklab(32.75% -0.069 0.0646)
OKLCHoklch(32.75% 0.095 136.9)
XYZxyz(2.2254, 3.7832, 0.7278)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F04 #29043F
analogous
#373F04 #1A3F04 #043F0B
triadic
#1A3F04 #041A3F #3F041A
tetradic
#1A3F04 #04373F #29043F #3F0B04
square
#1A3F04 #04373F #29043F #3F0B04
split-complementary
#1A3F04 #0B043F #3F0437
monochromatic
#0C1D02 #0C1D02 #1A3F04 #327908 #49B20B

Accessibility & contrast

On white

11.95
#1A3F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3F04
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F04#FFFFFF#000000##FFFFFF
##1A3F041.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413900
Deuteranopia (green-blind)
#3D360B
Tritanopia (blue-blind)
#183C34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a3f04;
/* rgb */ color: rgb(26, 63, 4);
/* oklch */ color: oklch(32.8% 0.095 136.9);
Tailwind
colors: {
  custom: {
    50: '#5c744a',
    500: '#1a3f04',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f04;
$custom-light: #5c744a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f04",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 97.627,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3275,
    "c": 0.09452,
    "h": 136.9
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#1A3F04
secondary
#5C1E80
accent
#2AFEAF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1A3F04

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

Preview Lab → · Contrast checker → · Palette generator →

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