#1A3D05#1A3D05

#1A3D05 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.1% C 0.091 H 136.7°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1A3D05
RGBrgb(26, 61, 5)
HSLhsl(98, 85%, 13%)
HSVhsv(98, 92%, 24%)
CMYKcmyk(57.4%, 0%, 91.8%, 76.1%)
CIE-LABlab(22.19, -23.81, 27.95)
CIE-LCHlch(22.19, 36.72, 130.43°)
OKLaboklab(32.13% -0.0663 0.0624)
OKLCHoklch(32.13% 0.091 136.7)
XYZxyz(2.1221, 3.5679, 0.7204)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D05 #28053D
analogous
#363D05 #1A3D05 #053D0C
triadic
#1A3D05 #051A3D #3D051A
tetradic
#1A3D05 #05363D #28053D #3D0C05
square
#1A3D05 #05363D #28053D #3D0C05
split-complementary
#1A3D05 #0C053D #3D0536
monochromatic
#0C1C02 #0C1C02 #1A3D05 #32760A #4AAE0E

Accessibility & contrast

On white

12.25
#1A3D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A3D05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D05
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D05#FFFFFF#000000##FFFFFF
##1A3D051.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#183A33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a3d05;
/* rgb */ color: rgb(26, 61, 5);
/* oklch */ color: oklch(32.1% 0.091 136.7);
Tailwind
colors: {
  custom: {
    50: '#5b734a',
    500: '#1a3d05',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d05;
$custom-light: #5b734a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d05",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 5
  },
  "hsl": {
    "h": 97.5,
    "s": 84.848,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32132,
    "c": 0.091,
    "h": 136.7
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#1A3D05
secondary
#5B207E
accent
#2DFBAE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1A3D05

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

Preview Lab → · Contrast checker → · Palette generator →

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