#1A3104#1A3104

#1A3104 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.3% C 0.074 H 133.1°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#1A3104
RGBrgb(26, 49, 4)
HSLhsl(91, 85%, 10%)
HSVhsv(91, 92%, 19%)
CMYKcmyk(46.9%, 0%, 91.8%, 80.8%)
CIE-LABlab(17.58, -18.03, 23.13)
CIE-LCHlch(17.58, 29.33, 127.94°)
OKLaboklab(28.34% -0.0509 0.0543)
OKLCHoklch(28.34% 0.074 133.1)
XYZxyz(1.5462, 2.4249, 0.5014)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3104 #1B0431
analogous
#303104 #1A3104 #043105
triadic
#1A3104 #041A31 #31041A
tetradic
#1A3104 #043031 #1B0431 #310504
square
#1A3104 #043031 #1B0431 #310504
split-complementary
#1A3104 #050431 #310430
monochromatic
#0F1C02 #0F1C02 #1A3104 #386A09 #56A20D

Accessibility & contrast

On white

14.14
#1A3104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A3104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3104
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3104#FFFFFF#000000##FFFFFF
##1A31041.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#302A08
Tritanopia (blue-blind)
#1A2F28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a3104;
/* rgb */ color: rgb(26, 49, 4);
/* oklch */ color: oklch(28.3% 0.074 133.1);
Tailwind
colors: {
  custom: {
    50: '#596949',
    500: '#1a3104',
    950: '#000000',
  },
}
SCSS
$custom: #1a3104;
$custom-light: #596949;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3104",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 90.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28342,
    "c": 0.07443,
    "h": 133.1
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#1A3104
secondary
#491D73
accent
#2DFB96
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1A3104

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

Preview Lab → · Contrast checker → · Palette generator →

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