#1A4205#1A4205

#1A4205 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.7% C 0.098 H 137.6°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#1A4205
RGBrgb(26, 66, 5)
HSLhsl(99, 86%, 14%)
HSVhsv(99, 92%, 26%)
CMYKcmyk(60.6%, 0%, 92.4%, 74.1%)
CIE-LABlab(24.09, -26.07, 29.89)
CIE-LCHlch(24.09, 39.66, 131.09°)
OKLaboklab(33.7% -0.0723 0.066)
OKLCHoklch(33.7% 0.098 137.6)
XYZxyz(2.4015, 4.1268, 0.8136)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4205 #2D0542
analogous
#394205 #1A4205 #05420F
triadic
#1A4205 #051A42 #42051A
tetradic
#1A4205 #053942 #2D0542 #420F05
square
#1A4205 #053942 #2D0542 #420F05
split-complementary
#1A4205 #0F0542 #420539
monochromatic
#0B1C02 #0B1C02 #1A4205 #307B09 #47B40E

Accessibility & contrast

On white

11.50
#1A4205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1A4205 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4205
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4205#FFFFFF#000000##FFFFFF
##1A42051.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#3F380C
Tritanopia (blue-blind)
#173F37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a4205;
/* rgb */ color: rgb(26, 66, 5);
/* oklch */ color: oklch(33.7% 0.098 137.6);
Tailwind
colors: {
  custom: {
    50: '#5c774b',
    500: '#1a4205',
    950: '#000000',
  },
}
SCSS
$custom: #1a4205;
$custom-light: #5c774b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4205",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 99.344,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33696,
    "c": 0.09789,
    "h": 137.6
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#1A4205
secondary
#612082
accent
#2CFCB4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1A4205

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

Preview Lab → · Contrast checker → · Palette generator →

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