#1A5A12#1A5A12

#1A5A12 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.122 H 141.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#1A5A12
RGBrgb(26, 90, 18)
HSLhsl(113, 67%, 21%)
HSVhsv(113, 80%, 35%)
CMYKcmyk(71.1%, 0%, 80%, 64.7%)
CIE-LABlab(33.08, -34.92, 33.55)
CIE-LCHlch(33.08, 48.42, 136.14°)
OKLaboklab(41.16% -0.0953 0.0757)
OKLCHoklch(41.16% 0.122 141.6)
XYZxyz(4.1911, 7.5752, 1.8134)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5A12 #52125A
analogous
#3E5A12 #1A5A12 #125A2E
triadic
#1A5A12 #121A5A #5A121A
tetradic
#1A5A12 #123E5A #52125A #5A2E12
square
#1A5A12 #123E5A #52125A #5A2E12
split-complementary
#1A5A12 #2E125A #5A123E
monochromatic
#071A05 #0B2708 #1A5A12 #298D1C #37C026

Accessibility & contrast

On white

8.35
#1A5A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1A5A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5A12
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5A12#FFFFFF#000000##FFFFFF
##1A5A121.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#0D574C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a5a12;
/* rgb */ color: rgb(26, 90, 18);
/* oklch */ color: oklch(41.2% 0.122 141.6);
Tailwind
colors: {
  custom: {
    50: '#618955',
    500: '#1a5a12',
    950: '#000000',
  },
}
SCSS
$custom: #1a5a12;
$custom-light: #618955;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5a12",
  "rgb": {
    "r": 26,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 113.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41162,
    "c": 0.12166,
    "h": 141.6
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#1A5A12
secondary
#883593
accent
#3EEAD7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #1A5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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