#1A3A04#1A3A04

#1A3A04 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.2% C 0.088 H 135.9°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#1A3A04
RGBrgb(26, 58, 4)
HSLhsl(96, 87%, 12%)
HSVhsv(96, 93%, 23%)
CMYKcmyk(55.2%, 0%, 93.1%, 77.3%)
CIE-LABlab(21.04, -22.50, 27.12)
CIE-LCHlch(21.04, 35.24, 129.68°)
OKLaboklab(31.18% -0.0629 0.061)
OKLCHoklch(31.18% 0.088 135.9)
XYZxyz(1.9609, 3.2544, 0.6397)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A04 #24043A
analogous
#353A04 #1A3A04 #043A09
triadic
#1A3A04 #041A3A #3A041A
tetradic
#1A3A04 #04353A #24043A #3A0904
square
#1A3A04 #04353A #24043A #3A0904
split-complementary
#1A3A04 #09043A #3A0435
monochromatic
#0D1D02 #0D1D02 #1A3A04 #347308 #4DAD0C

Accessibility & contrast

On white

12.72
#1A3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A3A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A04
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A04#FFFFFF#000000##FFFFFF
##1A3A041.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#383209
Tritanopia (blue-blind)
#193730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a3a04;
/* rgb */ color: rgb(26, 58, 4);
/* oklch */ color: oklch(31.2% 0.088 135.9);
Tailwind
colors: {
  custom: {
    50: '#5b704a',
    500: '#1a3a04',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a04;
$custom-light: #5b704a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a04",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 95.556,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.3118,
    "c": 0.08758,
    "h": 135.9
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#1A3A04
secondary
#561E7C
accent
#2BFDA7
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1A3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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